HELP: HOw to Convert PICBASIC to PIC Assembly Language
Archiver
Posts: 46,084
Please help if how to the conversion, example turning on or off ports.
Comments
>Please help if how to the conversion, example turning on or off ports
I'm a little confused as to your meaning of turning on or off the ports,
but if you are using PICBASIC, the "conversion" is already done for you.
Look at the *.SRC file generated in combination with the INCLUDE files
referenced inside the SRC file. You should be able to decipher the
generated Assembly Language after looking at it long enough and obtaining
a good PIC Assembly command list. This by the way is an excellent way to
"learn" PIC Assembly if you already feel comfortable with Basic or another
flavor of Assembly Language. For example: Often there is a tremendous
amount of redundancy within the SRC files due to function encapsulation
that can be eliminated with careful scrutiny to optimize code performance.
Beau Schwabe Mask Designer IV - ATL
National Semiconductor Wired Communications Division
500 Pinnacle Court, Suite 525 Mail Stop GA1 Norcross, GA 30071