??? 09/22/04 14:28 Read: times |
#77940 - RE: disassemble instructions with rel. addr. Responding to: ???'s previous message |
hi,
As Erik has already said, AJMP is "absolute jump". It is not relative one, it does jump into address within 2kb page of program space. The address is concatenated from: - the high-order five bits of the PC (after incrementing the PC twice). They become A15..A11 of the address where the next instruction is placed at; - opcode bits 7..5. They become A10..A8; - and the second byte of the instruction (A7..A0). Another question: what disassembler do you use? It should "calculate" address itself. Otherwise you need a calculator to do it yourself. Regards, Oleg |
Topic | Author | Date |
disassemble instructions with rel. addr. | 01/01/70 00:00 | |
RE: disassemble instructions with rel. addr. | 01/01/70 00:00 | |
sorry | 01/01/70 00:00 | |
Real name | 01/01/70 00:00 | |
Thread re-opened | 01/01/70 00:00 | |
RE: disassemble instructions with rel. addr. | 01/01/70 00:00 | |
RE: disassemble instructions with rel. addr.![]() | 01/01/70 00:00 | |
Try this | 01/01/70 00:00 |