ocpu
-
-
GRU ocpu - yet another cpu design
-
+
+
-
GRU ocpu - yet another cpu design
+
-
Features
-
+
+
-Features
+- little endian
- 8-bit (maybe will be changed in future)
-
Registers
-
+
+
@@ -346,9 +346,9 @@
-
Registers
+CMP | 0x25 | -+ | Compare |
PUSH | 0x30 | -+ | Push to stack |
POP | 0x31 | -+ | Pop to stack |
JMP | 0x40 | -+ | Jump |
JE | +0x46 | +Jump if equal | +|
JL | +0x47 | +Jump if lower | +|
JH | +0x48 | +Jump if higher | +|
RTS | -0x42 | +0x49 | Return from subroutine |