From f81ee3217a2c391fcaf4cf60d52afe09ef7c98b5 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 24 Jul 2025 05:24:09 -0400 Subject: docs: Add opcode list Signed-off-by: Ian Moffett --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index dfdc493..d102bd3 100644 --- a/README.md +++ b/README.md @@ -194,5 +194,28 @@ mov x1, #3 /* Iff x1 - x1 != 0, x1 equals 2 */ ``` +### Opcode list + +- `NOP`: `0x00` +- `ADD`: `0x01` +- `SUB`: `0x02` +- `MUL`: `0x03` +- `DIV`: `0x04` +- `INC`: `0x05` +- `DEC`: `0x06` +- `OR`: `0x07` +- `XOR`: `0x08` +- `AND`: `0x09` +- `NOT`: `0x0A` +- `SLL`: `0x0B` +- `SRL`: `0x0C` +- `MOV_IMM`: `0x0D` +- `HLT`: `0x0E` +- `BR`: `0x0F` +- `MROB`: `0x10` +- `MROW`: `0x11` +- `MROD`: `0x12` +- `MROQ`: `0x13` + Copyright (c) 2024 Quinn Stephens and Ian Marco Moffett. All rights reserved. -- cgit v1.2.3