Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

What type of this source code?

  1. Jul 20, 2010 #1
    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!
     
  2. jcsd
  3. Jul 20, 2010 #2

    rcgldr

    User Avatar
    Homework Helper

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook