aboutsummaryrefslogtreecommitdiffstats
path: root/atk16_emu/opcodes.py
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2024-02-21 14:19:14 +0200
committerJan Tuomi <jans.tuomi@gmail.com>2024-02-21 14:19:14 +0200
commitf88be86978af5ebb92bc9f11e99015afc6b6c4f7 (patch)
tree9f1bdb97f57845e32560a9def53bc1ee72c0ed20 /atk16_emu/opcodes.py
parent43c062225ccf88ef05d51a3c2fccb9f57e8a12c9 (diff)
Initial impl of step
Diffstat (limited to 'atk16_emu/opcodes.py')
-rw-r--r--atk16_emu/opcodes.py53
1 files changed, 53 insertions, 0 deletions
diff --git a/atk16_emu/opcodes.py b/atk16_emu/opcodes.py
index 268c873..6353ed5 100644
--- a/atk16_emu/opcodes.py
+++ b/atk16_emu/opcodes.py
@@ -34,5 +34,58 @@ class ALI():
alu_code: int
@dataclass
+class LDR():
+ to_reg: int
+ addr_reg: int
+
+@dataclass
+class STR():
+ from_reg: int
+ addr_reg: int
+
+@dataclass
+class LDI():
+ to_reg: int
+ imm: int
+
+@dataclass
+class JPR():
+ addr_reg: int
+
+@dataclass
+class JPI():
+ imm: int
+
+@dataclass
+class BRR():
+ flag: int
+ addr_reg: int
+
+@dataclass
+class BRI():
+ flag: int
+ addr_imm: int
+
+@dataclass
+class LPC():
+ target_reg: int
+
+@dataclass
+class NOP():
+ pass
+
+@dataclass
+class ISRP0():
+ pass
+
+@dataclass
+class ISRP1():
+ pass
+
+@dataclass
+class RTI():
+ pass
+
+@dataclass
class HLT():
pass