??? 04/16/08 09:19 Read: times |
#153445 - Read your instruction set Responding to: ???'s previous message |
Relative addressing allows +- offset
Page addressing allows only +ve offset in current page Absolute addressing allows any 16 bit address. Try different operands. What does the assembler say ? If you think that your assembler is doing something wrong, then post your example code and the assembler output. The standard documentation explains how opcodes are formed from a page address and how the operand is formed with the page offset. So try: ORG 0x2000 ACALL 0x2000-1 ACALL 0x2000+1 ACALL 0x2000+0x0fff ACALL 0x2000+0x1fff David. |