| APPENDIX A Instruction List | |
Table | ||
|
|
|
Instruction | Flag change |
|
|
|
|
XORW 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: Always set to 0 |
|
| C: Not changed |
|
|
|
|
XOR A, #d8 | N: Set to 1 if the result of operation is negative and set to 0 in other cases. |
|
XOR A, dir | Z: Set to 1 if the result of operation is 0 and set to 0 in other cases. |
|
XOR A, @EP | V: Always set to 0 |
|
XOR A, @IX+off | C: Not changed |
|
XOR A, Ri |
|
|
|
|
|
CMP 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: 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. |
|
|
|
|
CMPW 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: 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. |
|
|
|
|
CMP A, #d8 | N: Set to 1 if the result of operation is negative and set to 0 in other cases. |
|
CMP A, dir | Z: Set to 1 if the result of operation is 0 and set to 0 in other cases. |
|
CMP A, @EP | V: Set to 1 if an overflow occurs and set to 0 in other cases. |
|
CMP A, @IX+off | C: Set to 1 if a borrow occurs and set to 0 in other cases. |
|
CMP A, Ri |
|
|
|
|
|
CMP dir, #d8 | N: Set to 1 if the result of operation is negative and set to 0 in other cases. |
|
CMP @EP #d8 | Z: Set to 1 if the result of operation is 0 and set to 0 in other cases. |
|
CMP @IX+off, #d8 | V: Set to 1 if an overflow occurs and set to 0 in other cases. |
|
CMP Ri, #d8 | C: Set to 1 if a borrow occurs and set to 0 in other cases. |
|
|
|
|
RORC A | N: Set to 1 if the result of operation is negative and set to 0 in other cases. |
|
ROLC A | Z: Set to 1 if the result of operation is 0 and set to 0 in other cases. |
|
| V: Not changed |
|
| C: Enter bit 0 (when RORA) or bit 7 (when ROLA) of A before the operation. |
|
|
|
|
DAA | N: Set to 1 if the result of operation is negative and set to 0 in other cases. |
|
DAS | 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 (borrow) occurs and set to 0 in other cases. |
|
|
|
|
237