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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/07/07 00:03
Read: times


 
#136777 - Clarification?
Responding to: ???'s previous message
Hi Richard,

You wrote
As for the distinction between opcode and instruciton, many instructions contain the mnemonic, MOV. The opcode, however, is derived from the entire instruction, which consists of several components.


I wrote
Also, at least as I was taught, the opcode is the actual binary or hexadecimal number that the mneumonic and arguments are translated into. (emphasis added)


I think I'm losing track of who you're arguing with. Am I wrong, or is Andy wrong? Or is it just both of us?

Anyway, you also wrote,
In any case, labels are, in fact, pseudo-op's, as they direct the assembler to interpret the mnemonic in that first field to be a symbolic representation of the current program counter.


I thought labels were just mnemonics (Hey Andy! You like?) to which the assembler/compiler would later assign a physical address. I didn't realize it had anything to do with instructing the assembler/compiler to do anything, or that it had anything to do with the current PC either.

Joe


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