This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

8051 basic question

which of the following produces opcode
add a,r2...mov a,#12...org 0000h...sjmp here
i think except org 0000h all other instructions produces opcode..ans me Y or N

Parents
  • You didn't find the opcodes for ORG and END??? But did you read the assembler manual?

    Exactly why did you assume that ORG and END would have opcodes? What do you expect the processor to do when it runs these magic opcodes? Would the processor disapear in a puff of smoke when it reach this magic END instruction?

Reply
  • You didn't find the opcodes for ORG and END??? But did you read the assembler manual?

    Exactly why did you assume that ORG and END would have opcodes? What do you expect the processor to do when it runs these magic opcodes? Would the processor disapear in a puff of smoke when it reach this magic END instruction?

Children