| APPENDIX A Instruction List | |
Table | ||
|
|
|
Instruction | Flag change |
|
|
|
|
ADDC A, Ri | N: Set to 1 if the result of operation is negative and set to 0 in other cases. |
|
ADDC A, #d8 | Z: Set to 1 if the result of operation is 0 and set to 0 in other cases. |
|
ADDC A, dir | V: Set to 1 if an overflow occurs and set to 0 in other cases. |
|
ADDC A, @IX+off | C: Set to 1 if a carry occurs and set to 0 in other cases. |
|
ADDC A, @EP |
|
|
|
|
|
ADDC A | N: Set to 1 if the result of operation is negative and set to 0 in other cases. |
|
ADDCW A | Z: Set to 1 if the result of operation is 0 and set to 0 in other cases. |
|
| V: Set to 1 if an overflow occurs and set to 0 in other cases. |
|
| C: Set to 1 if a carry occurs and set to 0 in other cases. |
|
|
|
|
SUBC A, Ri | N: Set to 1 if the result of operation is negative and set to 0 in other cases. |
|
SUBC A, #d8 | Z: Set to 1 if the result of operation is 0 and set to 0 in other cases. |
|
SUBC A, dir | V: Set to 1 if an overflow occurs and set to 0 in other cases. |
|
SUBC A, @IX+off | C: Set to 1 if a borrow occurs and set to 0 in other cases. |
|
SUBC A, @EP |
|
|
|
|
|
SUBC A | N: Set to 1 if the result of operation is negative and set to 0 in other cases. |
|
SUBCW A | Z: Set to 1 if the result of operation is 0 and set to 0 in other cases. |
|
| V: Set to 1 if an overflow occurs and set to 0 in other cases. |
|
| C: Set to 1 if a borrow occurs and set to 0 in other cases. |
|
|
|
|
INC Ri | N: Set to 1 if the result of operation is negative and set to 0 in other cases. |
|
| Z: Set to 1 if the result of operation is 0 and set to 0 in other cases. |
|
| V: Set to 1 if an overflow occurs and set to 0 in other cases. |
|
| C: Not changed |
|
|
|
|
INCW EP | N: Not changed |
|
INCW IX | Z: Not changed |
|
INCW SP | V: Not changed |
|
| C: Not changed |
|
|
|
|
INCW A | N: Set to 1 if the result of operation is negative and set to 0 in other cases. |
|
| Z: Set to 1 if the result of operation is 0 and set to 0 in other cases. |
|
| V: Not changed |
|
| C: Not changed |
|
|
|
|
DEC Ri | N: Set to 1 if the result of operation is negative and set to 0 in other cases. |
|
| Z: Set to 1 if the result of operation is 0 and set to 0 in other cases. |
|
| V: Set to 1 if an overflow occurs and set to 0 in other cases. |
|
| C: Not changed |
|
|
|
|
235