- #1
ws0619
- 53
- 0
Hi!
May I know what type of this source code it is?It looks like assembly code, but I'm not sure.
LIST p=16f648a
include "P16f648a.inc"
__config h'3f18'
PC equ h'02'
cblock h'20'
endc
org h'0000'
movlw h'07'
movwf CMCON
bsf STATUS, RP0
movlw b'00000000'
movwf TRISB
movlw b'00100000'
movwf TRISA
bcf STATUS, RP0
setup
begin
goto begin
end
I just copy the structure of the program.This program is written for PIC.
I am a newbie for PIC programming, can someone tell me what code is this?And I want to convert this code to C#,any suggestion for the converter?
thanks!
May I know what type of this source code it is?It looks like assembly code, but I'm not sure.
LIST p=16f648a
include "P16f648a.inc"
__config h'3f18'
PC equ h'02'
cblock h'20'
endc
org h'0000'
movlw h'07'
movwf CMCON
bsf STATUS, RP0
movlw b'00000000'
movwf TRISB
movlw b'00100000'
movwf TRISA
bcf STATUS, RP0
setup
begin
goto begin
end
I just copy the structure of the program.This program is written for PIC.
I am a newbie for PIC programming, can someone tell me what code is this?And I want to convert this code to C#,any suggestion for the converter?
thanks!