| Philips Semiconductors |
|
|
| User’s Manual - Preliminary - |
| |||
|
|
|
|
|
|
|
|
|
|
| INSTRUCTION SET |
| P89LPC906/907/908 |
| |||||
|
|
|
|
|
|
|
|
|
|
|
| Mnemonic | Description | Bytes |
| Cycles | Hex |
|
|
|
|
| code |
|
| ||||
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
| ACALL addr 11 | Absolute jump to subroutine | 2 |
| 2 | 116F1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| LCALL addr 16 | Long jump to subroutine | 3 |
| 2 | 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| RET | Return from subroutine | 1 |
| 2 | 22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| RETI | Return from interrupt | 1 |
| 2 | 32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| AJMP addr 11 | Absolute jump unconditional | 2 |
| 2 | 016E1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| LJMP addr 16 | Long jump unconditional | 3 |
| 2 | 02 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| SJMP rel | Short jump (relative address) | 2 |
| 2 | 80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| JC rel | Jump on carry = 1 | 2 |
| 2 | 40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| JNC rel | Jump on carry = 0 | 2 |
| 2 | 50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| JB bit,rel | Jump on direct bit = 1 | 3 |
| 2 | 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| JNB bit,rel | Jump on direct bit = 0 | 3 |
| 2 | 30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| JBC bit,rel | Jump on direct bit = 1 and clear | 3 |
| 2 | 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| JMP @A+DPTR | Jump indirect relative DPTR | 1 |
| 2 | 73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| JZ rel | Jump on accumulator = 0 | 2 |
| 2 | 60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| JNZ rel | Jump on accumulator ¹ 0 | 2 |
| 2 | 70 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| CJNE A,dir,rel | Compare A,direct jne relative | 3 |
| 2 | B5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| CJNE A,#d,rel | Compare A,immediate jne relative | 3 |
| 2 | B4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| CJNE Rn,#d,rel | Compare register, immediate jne relative | 3 |
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| CJNE @Ri,#d,rel | Compare indirect, immediate jne relative | 3 |
| 2 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| DJNZ Rn,rel | Decrement register, jnz relative | 2 |
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| DJNZ dir,rel | Decrement direct byte, jnz relative | 3 |
| 2 | D5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| MISCELLANEOUS |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| NOP | No operation | 1 |
| 1 | 00 |
|
|
|
|
|
|
|
|
|
|
|
|
2003 Dec 8 | 102 |