summaryrefslogtreecommitdiff
path: root/src/consts.rs
diff options
context:
space:
mode:
authortaitep <taitep@taitep.se>2025-09-27 21:43:10 +0200
committertaitep <taitep@taitep.se>2025-09-27 21:43:10 +0200
commit3163b43fa48f7db6f45075f5f24ff130d33b22b2 (patch)
treeba79feb7760d1e483f3dade6d1de33ede49e3d10 /src/consts.rs
parent5919041f07c1e49b53833a38002f22d8712230de (diff)
base core state & instruction decoder
Diffstat (limited to 'src/consts.rs')
-rw-r--r--src/consts.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/consts.rs b/src/consts.rs
index a3e33a2..1e52c92 100644
--- a/src/consts.rs
+++ b/src/consts.rs
@@ -3,5 +3,7 @@ pub type HWord = u16;
pub type Word = u32;
pub type DWord = u64;
-pub type Reg = DWord;
+pub type RegValue = DWord;
pub type Addr = DWord;
+
+pub type RegId = u8;