sd:appendix_4_instruction_set_architecture
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| sd:appendix_4_instruction_set_architecture [2026/03/30 11:46] – appledog | sd:appendix_4_instruction_set_architecture [2026/03/30 21:11] (current) – appledog | ||
|---|---|---|---|
| Line 22: | Line 22: | ||
| STA [BLX] ; Store into bank BL, offset X. | STA [BLX] ; Store into bank BL, offset X. | ||
| </ | </ | ||
| + | |||
| + | ==== Assembly | ||
| + | 00 LD_REG | ||
| + | 00 A | ||
| + | 01 02 $201 (little endian) | ||
| === Data Movement Instructions of the Caribbean | === Data Movement Instructions of the Caribbean | ||
| Line 27: | Line 32: | ||
| | 09 | MOV | MOV Y, A | Copy A up on Y | | | 09 | MOV | MOV Y, A | Copy A up on Y | | ||
| | 0A | XCHG | XCHG X, Y | Swap dem two -- X an Y trade place, quick quick | | | 0A | XCHG | XCHG X, Y | Swap dem two -- X an Y trade place, quick quick | | ||
| + | |||
| + | ==== Assembly | ||
| + | 09 00 01 MOV A, B | ||
| + | 0A 02 03 XCHG X, Y | ||
| === Pirate Stack Operations | === Pirate Stack Operations | ||
| Line 97: | Line 106: | ||
| | | INT | | Software interrupt | | | | | INT | | Software interrupt | | | ||
| | | RTI | | Return from Interrupt | | | | | RTI | | Return from Interrupt | | | ||
| + | |||
| + | === MMU/Block Operations | ||
| + | | 8C | MEMCOPY | ||
| + | | 8D | SCAN | SCAN H, N | Scan ptr H for needle N | | | ||
| + | | 8E | CMPC3 | CMPC3 ELM, FLD, C | Compare Characters | Z C | | ||
| + | |||
| + | === Bit Packing | ||
| + | | 98 | PAB | PAB | Pack low 4 bytes of A and low 4 bytes of B into AL | | | ||
| + | | 99 | UAB | UAB | Unpack AL into low 4 bytes of AL and low 4 bytes of BL | | | ||
| + | |||
| === Flag Operations | === Flag Operations | ||
sd/appendix_4_instruction_set_architecture.1774871168.txt.gz · Last modified: by appledog
