diff options
Diffstat (limited to 'src/isa/mod.rs')
-rw-r--r-- | src/isa/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/isa/mod.rs b/src/isa/mod.rs index 49fad10..5458255 100644 --- a/src/isa/mod.rs +++ b/src/isa/mod.rs @@ -4,6 +4,10 @@ pub mod funct7; pub type Word = u32; pub type SignedWord = i32; +pub type HalfWord = u16; +pub type SignedHalfWord = i16; +pub type Byte = u8; +pub type SignedByte = i8; // TODO: directly encode PC as u32, as architecturally specified pub type Address = usize; |