summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-10-02 19:27:03 -0400
committerIan Moffett <ian@osmora.org>2025-10-02 19:27:03 -0400
commita179997a4ac335368416c32a43b0e3917be358d5 (patch)
tree1392c7224a882c4d2145a9800cc6072a06967c3c /src
parentbc7dadf4360509b04f4629cebbe345c7899e236b (diff)
np: piir: Annotate IR bytes
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src')
-rw-r--r--src/sys/include/np/piir.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sys/include/np/piir.h b/src/sys/include/np/piir.h
index 8277c1f..d108776 100644
--- a/src/sys/include/np/piir.h
+++ b/src/sys/include/np/piir.h
@@ -50,11 +50,11 @@ typedef int8_t md_byte_t;
#define PIIR_STACK_SIZE 4096
/* PIIR opcodes */
-#define PIIR_NOP 0x00
-#define PIIR_LOAD_R8 0x01
-#define PIIR_LOAD_R16 0x02
-#define PIIR_LOAD_R32 0x03
-#define PIIR_LOAD_R64 0x04
+#define PIIR_NOP 0x00 /* Do nothing */
+#define PIIR_LOAD_R8 0x01 /* Load 8-bit register */
+#define PIIR_LOAD_R16 0x02 /* Load 16-bit register */
+#define PIIR_LOAD_R32 0x03 /* Load 32-bit register */
+#define PIIR_LOAD_R64 0x04 /* Load 64-bit register */
#define PIIR_RET_NIL 0x05 /* Return nothing */
/*