summaryrefslogtreecommitdiff
path: root/src/consts.rs
diff options
context:
space:
mode:
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;