From 2f788d140e94d5a020b90736796d7169fcb2eab8 Mon Sep 17 00:00:00 2001 From: David Li Date: Sun, 20 Dec 2015 18:29:43 -0500 Subject: Introduce type aliases for ISA things --- src/isa/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/isa') 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 { -- cgit v1.2.3