From 4809d7159f373a358da4932571e2219b39b561ed Mon Sep 17 00:00:00 2001 From: krolxon Date: Sun, 4 Jan 2026 18:39:25 +0530 Subject: initial commit --- src/instructions.rs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/instructions.rs (limited to 'src/instructions.rs') diff --git a/src/instructions.rs b/src/instructions.rs new file mode 100644 index 0000000..f5884dc --- /dev/null +++ b/src/instructions.rs @@ -0,0 +1,9 @@ +#[repr(u8)] +pub enum Instruction { + MOV = 0x01, + ADD = 0x02, + SUB = 0x03, + JMP = 0x04, + JZ = 0x05, + HLT = 0xFF, +} -- cgit v1.2.3