| Philips Semiconductors |
|
|
| User’s Manual - Preliminary - |
| |||
|
|
|
|
|
|
|
|
|
|
| INSTRUCTION SET |
| P89LPC906/907/908 |
| |||||
| 15. INSTRUCTION SET |
|
|
|
|
|
| ||
|
| Table |
|
|
|
|
|
| |
|
| Mnemonic | Description | Bytes |
| Cycles | Hex |
|
|
|
|
| code |
|
| ||||
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| ARITHMETIC |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ADD A,Rn | Add register to A | 1 |
| 1 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| ADD A,dir | Add direct byte to A | 2 |
| 1 | 25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| ADD A,@Ri | Add indirect memory to A | 1 |
| 1 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| ADD A,#data | Add immediate to A | 2 |
| 1 | 24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| ADDC A,Rn | Add register to A with carry | 1 |
| 1 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| ADDC A,dir | Add direct byte to A with carry | 2 |
| 1 | 35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| ADDC A,@Ri | Add indirect memory to A with carry | 1 |
| 1 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| ADDC A,#data | Add immediate to A with carry | 2 |
| 1 | 34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| SUBB A,Rn | Subtract register from A with borrow | 1 |
| 1 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| SUBB A,dir | Subtract direct byte from A with borrow | 2 |
| 1 | 95 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| SUBB A,@Ri | Subtract indirect memory from A with borrow | 1 |
| 1 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| SUBB A,#data | Subtract immediate from A with borrow | 2 |
| 1 | 94 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| INC A | Increment A | 1 |
| 1 | 04 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| INC Rn | Increment register | 1 |
| 1 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| INC dir | Increment direct byte | 2 |
| 1 | 05 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| INC @Ri | Increment indirect memory | 1 |
| 1 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| DEC A | Decrement A | 1 |
| 1 | 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| DEC Rn | Decrement register | 1 |
| 1 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| DEC dir | Decrement direct byte | 2 |
| 1 | 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| DEC @Ri | Decrement indirect memory | 1 |
| 1 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| INC DPTR | Increment data pointer | 1 |
| 2 | A3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| MUL AB | Multiply A by B | 1 |
| 4 | A4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| DIV AB | Divide A by B | 1 |
| 4 | 84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| DA A | Decimal Adjust A | 1 |
| 1 | D4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| LOGICAL |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ANL A,Rn | AND register to A | 1 |
| 1 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| ANL A,dir | AND direct byte to A | 2 |
| 1 | 55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| ANL A,@Ri | AND indirect memory to A | 1 |
| 1 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| ANL A,#data | AND immediate to A | 2 |
| 1 | 54 |
|
|
|
|
|
|
|
|
|
|
|
|
2003 Dec 8 | 99 |