??? 04/07/08 13:02 Read: times |
#153014 - Assembler syntax. Looks ok to me. Responding to: ???'s previous message |
I presume that you are writing some code.
In which case your syntax looks ok to me. Not all sfrs are bit-addressable, but ACC is one that is. You write your instruction, the assembler assembles it. You do not worry about the byte values. That is what an assembler does for you. If you are writing an assembler, then you need to look at the required docs. The output should be <0x82> <0xE7>. You must check the operands for legality: (!(operand1 & 0x7) && (operand2 < 8) && ABSOLUTE) after you have parsed the mode. David. |
Topic | Author | Date |
a query in 8051 instruction set....bit addressing | 01/01/70 00:00 | |
bible time | 01/01/70 00:00 | |
Assembler syntax. Looks ok to me. | 01/01/70 00:00 | |
Oops | 01/01/70 00:00 | |
David is right | 01/01/70 00:00 | |
thanks to all....query resolved | 01/01/70 00:00 | |
difficult to answer![]() | 01/01/70 00:00 | |
Bit Addressing | 01/01/70 00:00 | |
simple | 01/01/70 00:00 |