diff options
| -rw-r--r-- | main.myr | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -105,6 +105,14 @@ const main = { if reg[opcode & 0x0f] != arg pc += 2 ;; + // SE + | 0x5: + if reg[opcode & 0x0f] == reg[(arg & 0xf0) >> 4] + pc += 2 + ;; + // LD + | 0x6: + reg[opcode & 0x0f] = arg | _ : std.die("unimplemented opcode\n") ;; ;; |