| ??? 07/19/08 15:47 Read: times |
#156844 - Why not use a better assembler. Responding to: ???'s previous message |
There are many free 8051 assemblers.
I had to write a sed script to convert your source code to something that would assemble. You could possibly edit 8051.h to accept lower case special function registers.
1i\
.INCLUDE 8051.h
s/^ //
/:/s/^ *//
s/ sp,/ SP,/
s/ p0/ P0/
s/ p1/ P1/
s/dpl/DPL/
s/dph/DPH/
s/acc/ACC/
s/ b,/ B,/
s/,b /,B /
s/ DS / .DS /
s/^db/ .DB/
s/ db / .DB /
s/ORG/ .ORG/
s/ call / LCALL /
s/ jmp / LJMP /
s/ end/ .END/
s/ BIT / .EQU /
s/'THANKS ! 0 '/"THANKS ! 0 "/
s/Del:/Delx:/
s/Del /Delx /
s/^ //
|
| Topic | Author | Date |
| 128x64 lcd (ks0108) | 01/01/70 00:00 | |
| Bog standard ASM syntax. | 01/01/70 00:00 | |
| 128x64 lcd (ks0108) | 01/01/70 00:00 | |
| Why not use a better assembler. | 01/01/70 00:00 | |
| Better assembler... | 01/01/70 00:00 | |
| There are links on this site | 01/01/70 00:00 | |
| ASM51 | 01/01/70 00:00 | |
| Your line numbers do not relate to mine. | 01/01/70 00:00 | |
| Files on line | 01/01/70 00:00 | |
| Errors from your listing | 01/01/70 00:00 | |
| the best (documented) free assembler ... | 01/01/70 00:00 | |
| Pinnacle and KS0108 LCD | 01/01/70 00:00 | |
| Just check your wiring and contrast voltage. | 01/01/70 00:00 | |
| The LCD doesn't work! | 01/01/70 00:00 | |
| Small steps always best | 01/01/70 00:00 | |
| Good idea! | 01/01/70 00:00 | |
| Progress | 01/01/70 00:00 | |
| Re: Progress | 01/01/70 00:00 | |
| Code | 01/01/70 00:00 | |
| Re: Code | 01/01/70 00:00 | |
The code works just fine. | 01/01/70 00:00 |



