Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/19/08 20:19
Modified:
  07/19/08 20:30

Read: times


 
#156850 - There are links on this site
Responding to: ???'s previous message
You can follow the links on this site or google for free 8051 assemblers. There are also assemblers that come with the evaluation Keil C compiler or sdcc.

You mentioned TASM.EXE which I found on my computer (c) 1993 v2.9.4.

It uses a 8051.TAB for the opcodes and you .include 8051.H to inform the assembler about the sfr names. You can probably solve the case-sensitivity issues with the -i flag. You also need to get labels in the first field. The copy-paste has a lot of leading spaces. The directives need a leading period. And for some reason "Del" was treated as a reserved word. You may be able to change this behaviour by editing the 8051.H or 8051.TAB files.

Your version may well be more recent.

I copied and pasted the source from your link. But I had to pass it through a sed script to fix the syntax. Have you tried googling for the specified assembler ?

David.



List of 21 messages in thread
TopicAuthorDate
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      

Back to Subject List