View previous topic :: View next topic |
Author |
Message |
pattousai
Joined: 23 Aug 2006 Posts: 37
|
How to use the Assembly code generate by the CCS |
Posted: Mon Jun 18, 2007 12:52 pm |
|
|
Hi everybody!!
Well, i know that the CCS Compiler generate an assembly code (.lst), right? I try to compile this code with the MPASM and didn't have sucess, anyone could help me with that?? What kind of changes i have to make?
I will be very glad if anyone could help me.
Thanks, and sorry for the bad english |
|
|
Ttelmah Guest
|
|
Posted: Mon Jun 18, 2007 1:01 pm |
|
|
It won't.
The assembler, is compatible with the CCS assembler, not MPLAB assembler.
The compiler already assembles the code anyway.
Best Wishes |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Jun 18, 2007 1:40 pm |
|
|
But the .LST file uses MPASM compatible instructions. By editing out
the address column in the .LST file, and by adding suitable MPASM
statements to declare the variables (refer to the symbol table to
get the addresses) and also by adding pre-processor statements,
you could make a MPASM file. But why bother ? |
|
|
|