??? 04/13/08 12:52 Read: times |
#153190 - The Opcode is Selected... Responding to: ???'s previous message |
I described the execution flow once the ACALL opcode has already been selected. To do the reverse process you need to look at where the ACALL is intended to go. Then take the parts of the target address and find bits <10:8> of that address and that will determine which ACALL opcode needs to be used such that the bits <7:5> equal those target address bits <10:8>. Keep in mind that the ACALL target address will be in the same 2K byte address range as the next instruction after the ACALL instruction.
Michael Karas |