INC - sjsoftware/centurion-cpu6 GitHub Wiki

INC - Increment Memory

| Byte 1       | Byte 2              | Byte 3 | Byte 4 |
|--------------|---------------------|--------|--------|
|      |       | 7 6 5 | 4 | 3 2 1 0 |        |        |
|   3      0   | R     | 1 |    I    | Addr H | Addr L |
  • R - Index Register. B = 1, X = 2 etc. If 0 then Addr is direct address. Otherwise register index plus displacement
  • I - Memory is incremented by 1 + I