CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS
| Execution example : CMP A |
|
|
|
|
|
|
|
|
| |||
|
|
| Memory |
| FFFFH |
|
|
| Memory |
| FFFFH | ||
A | XX | 75 |
|
|
|
| A | XX | 75 |
|
|
|
|
T | XX | 48 |
|
|
|
| T | XX | 48 |
|
|
|
|
IX |
|
|
|
|
|
| IX |
|
|
|
|
|
|
SP |
|
|
|
|
|
| SP |
|
|
|
|
|
|
PC |
|
|
|
|
|
| PC |
|
|
|
|
|
|
EP |
|
|
| Byte |
| 0000H | EP |
|
|
| Byte |
| 0000H |
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
| N | Z | V | C |
|
|
| N | Z | V | C |
PS |
|
| 0 | 0 | 0 | 0 | PS |
|
| 1 | 0 | 0 | 1 |
| Byte | Byte | (Before execution) |
| Byte | Byte | (After execution) |
91