aboutsummaryrefslogtreecommitdiff
path: root/src/isa/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/isa/mod.rs')
-rw-r--r--src/isa/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/isa/mod.rs b/src/isa/mod.rs
index 5458255..b7ac405 100644
--- a/src/isa/mod.rs
+++ b/src/isa/mod.rs
@@ -9,8 +9,7 @@ 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;
+pub type Address = u32;
#[derive(Debug, PartialEq)]
pub enum Register {