??? 04/13/08 14:15 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#153195 - 3 top bits of 11-bit address Responding to: ???'s previous message |
The destination address field of the instruction is 11 bits, so you take your 8AH and work out what the top 3 bits are.
In your case the address only occupies 8 bits so the top 3 are 000. 8AH is 1000 1010 but written in 11 bits it's 000 1000 1010 So your first instruction byte is 00010001 and the whole two bytes are: 11H, 8AH. As Juergen says though, this instruction is only good for calls within the same 2K block of memory. An assembler would tell you if your destination was too far away. |