diff options
Diffstat (limited to 'src/isa')
-rw-r--r-- | src/isa/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/isa/mod.rs b/src/isa/mod.rs index 6c4bfbc..1ac585b 100644 --- a/src/isa/mod.rs +++ b/src/isa/mod.rs @@ -197,7 +197,7 @@ macro_rules! isa_utype { let mut bytes = vec![]; for offset in 0..mem::size_of::<$utype>() { - bytes.push(Byte(((self.0 >> (8 * offset)) & 0xFF) as u8)); + bytes.push(Byte((self.0 >> (8 * offset)) as u8)); } bytes |