What Type of Code is This for PIC Microcontrollers?

  • Thread starter Thread starter ws0619
  • Start date Start date
  • Tags Tags
    Code Source Type
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
ws0619
Messages
53
Reaction score
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!
 
Physics news on Phys.org