diff options
author | David Li <li.davidm96@gmail.com> | 2015-12-20 18:29:43 -0500 |
---|---|---|
committer | David Li <li.davidm96@gmail.com> | 2015-12-20 18:29:43 -0500 |
commit | 2f788d140e94d5a020b90736796d7169fcb2eab8 (patch) | |
tree | 22aa3c4b0d13b50b56f603e82c4152d759d1c755 /src/isa/mod.rs | |
parent | ea76448fb43b760afa6a9380756b038c62ed9792 (diff) |
Introduce type aliases for ISA things
Diffstat (limited to 'src/isa/mod.rs')
-rw-r--r-- | src/isa/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/isa/mod.rs b/src/isa/mod.rs index dd803c5..086df74 100644 --- a/src/isa/mod.rs +++ b/src/isa/mod.rs @@ -3,6 +3,8 @@ pub mod funct3; pub mod funct7; pub type Word = u32; +pub type SignedWord = i32; +pub type Address = usize; #[derive(Debug, PartialEq)] pub enum Register { |