-
Notifications
You must be signed in to change notification settings - Fork 13
OpC_50 5F
Nakazoto edited this page Mar 18, 2023
·
1 revision
If either of the register nibbles are odd for a 5x instruction, then extended addressing modes will be used for the instruction. The src and dest registers are obtained by stripping out the low bit of their nibbles. Note that this is still very much WIP and needs to be verified on hardware.
- Left Register odd, Right Register even - dest <- src op literal
- Left Register even, Right Register odd - dest <- src op (direct)
- Left Register odd, Right Register odd - dest <- index(src) op dest
Note that subtraction, division and XFR vary from the register to register variants. Examples are given in the table below.
| Opcode | Operation | High nibble (src) | Low nibble (dest) | Meaning |
|---|---|---|---|---|
| 51 | SUB | Even | Odd | dest <- direct - src |
| 51 | SUB | Odd | Odd | dest <- index(src) - dest |
| 55 | XFR | Odd | Even | dest <- #literal |
| 78 | DIV | Even | Odd | dest <- src / direct |
| 78 | DIV | Odd | Odd | dest <- dest / index(src) |
- CPU6 Board
- CPU5 Board
- DSK/AUT and DSKII Boards
- CMD Board
- FFC Board
- MEM Boards
- MUX Board
- PRT Board
- DIAG Board
- Backplane
- Front Panel
- WIPL and LOAD
- Operating System
- DIAG Programs
- New Software
- Applications
- Found Source Code
- ROM Backups