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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/06/07 15:50
Read: times


 
#136757 - We must have learned it differently
Responding to: ???'s previous message
I must disagree with your description, Joseph, on the simple basis that NOTHING entered in a text editor is in any form other than mnemonic.

The whole purpose of the assembler is to translate what we can enter and understand into something the MCU can interpret and execute. Everything is in mnemonic form because we can't enter binary, hexadecimal, or octal values.

We can only enter mnemonic representations of them. Further, the instruction is more than just one byte, while the opcode is always a single byte, represented in the assembler as a mnemonic (text) object.

The complete instruction consists not only of the opcode but of the mode descriptors and argument list.

While most assemblers have the capability of generating Intel HEX files, that's not the only format used for programming PROMs or MCU's. Some of my programmers accept binary, some accept HEX, and some accept S-record format. Most accept all three, but I think you get my point. Some of the freeware assemblers available for the 805x series produce one or more of these and Intel-HEX, though common, is not always among them.

You're probably right about the KEIL demo package and its applicability to Mike's situation. There are, however, free assemblers, linkers, simulators, etc, that don't impose a code size limitation. Choosing tools is a personal thing, and I would leave that up to the individual's preferences. It will probably be a while before Mike is generating larger blocks of code than what KEIL's demoware supports.

RE




List of 43 messages in thread
TopicAuthorDate
8051 opcodes            01/01/70 00:00      
   A disassembler?            01/01/70 00:00      
   Visit The Chart            01/01/70 00:00      
      answer            01/01/70 00:00      
         Text-based instructions?            01/01/70 00:00      
            Just a bit of semantics            01/01/70 00:00      
               Just a bit of spelling            01/01/70 00:00      
               We must have learned it differently            01/01/70 00:00      
                  I learned the same was as Joseph            01/01/70 00:00      
                     nobody disputes the definition of mnemonic            01/01/70 00:00      
                        Clarification?            01/01/70 00:00      
                           Late in the conversation            01/01/70 00:00      
                              Yes, we\'re getting lost ...            01/01/70 00:00      
                                 I DID find an assembler for me            01/01/70 00:00      
                                    Yes, that's a good one!            01/01/70 00:00      
                        I doubt it            01/01/70 00:00      
                           BIOS Code In Assembler            01/01/70 00:00      
                              even more a coincidence            01/01/70 00:00      
                                 Me too....            01/01/70 00:00      
                           in college...            01/01/70 00:00      
                              Yes, but was that for a BS degree?            01/01/70 00:00      
                                 yep            01/01/70 00:00      
                                 it's not exactly learning asm which is needed...            01/01/70 00:00      
                                    send me his resume            01/01/70 00:00      
                                       we have to teach him every day            01/01/70 00:00      
            .            01/01/70 00:00      
         I have to tell you an Assembler Story            01/01/70 00:00      
            Very true            01/01/70 00:00      
               Learning Is Great !!            01/01/70 00:00      
                  Why didnt you mention to them..            01/01/70 00:00      
                     I Discussed Endlessly            01/01/70 00:00      
                  I once wrote an assembler            01/01/70 00:00      
                     2 pieces            01/01/70 00:00      
                        well,            01/01/70 00:00      
                        Suggestions            01/01/70 00:00      
                        Why would you want to write your own?            01/01/70 00:00      
                     Me too            01/01/70 00:00      
               Compiler?            01/01/70 00:00      
                  My reasoning            01/01/70 00:00      
         SDCC (again)            01/01/70 00:00      
   Is this a continuation...            01/01/70 00:00      
      Must not be...            01/01/70 00:00      
         I think there's room for doubt            01/01/70 00:00      

Back to Subject List