| ??? 07/19/08 23:07 Read: times |
#156854 - Errors from your listing Responding to: ???'s previous message |
It does not understand the DS directive.
It does not understand any special function registers, at least not in lower case. So you need to include a "8051.h" that declares all the sfr's. It may have a special syntax for bit addressing. But I expect that "p0.4" will be fine once it knows that "p0" is the name of a sfr port. I presume that you have edited the source file by hand. This can be a bit risky. I use "sed" and then at least I can see what the problems are. I guess that if you use "diff -b" on your files, you will get a mass of output. If you quote an assembler name, it is worth giving a version and date. There are probably several called "a51" or "asm51". David. |
| 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 |



