CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS
| Execution example : XCHW A, SP |
|
|
|
|
|
|
|
| ||||
|
|
| Memory |
| FFFFH |
|
|
| Memory |
| FFFFH | ||
A | 32 | AA |
|
|
|
| A | 55 | 79 |
|
|
|
|
T |
|
|
|
|
|
| T |
|
|
|
|
|
|
IX |
|
|
|
|
|
| IX |
|
|
|
|
|
|
SP | 55 | 79 |
|
|
|
| SP | 32 | AA |
|
|
|
|
PC |
|
|
|
|
|
| PC |
|
|
|
|
|
|
EP |
|
|
| Byte |
| 0000H | EP |
|
|
| Byte |
| 0000H |
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
| N | Z | V | C |
|
|
| N | Z | V | C |
PS |
|
| 0 | 0 | 0 | 0 | PS |
|
| 0 | 0 | 0 | 0 |
| Byte | Byte | (Before execution) |
| Byte | Byte | (After execution) | ||||||
|
|
|
|
|
|
|
|
|
|