summaryrefslogtreecommitdiff
path: root/src/consts.rs
diff options
context:
space:
mode:
authortaitep <taitep@taitep.se>2025-09-27 16:38:06 +0200
committertaitep <taitep@taitep.se>2025-09-27 16:38:06 +0200
commit4a2272ae49942eba487cb51c4d7e8466c2ee0af1 (patch)
treeabd810185d65548c57061186345a6d18f9738485 /src/consts.rs
parent282740cb59e91726adb5fe1a08fb85c17b1a0d21 (diff)
Initial stuff and memory implementation
Diffstat (limited to 'src/consts.rs')
-rw-r--r--src/consts.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/consts.rs b/src/consts.rs
new file mode 100644
index 0000000..a3e33a2
--- /dev/null
+++ b/src/consts.rs
@@ -0,0 +1,7 @@
+pub type Byte = u8;
+pub type HWord = u16;
+pub type Word = u32;
+pub type DWord = u64;
+
+pub type Reg = DWord;
+pub type Addr = DWord;