diff options
Diffstat (limited to 'src/arm32/shifter')
-rw-r--r-- | src/arm32/shifter/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arm32/shifter/mod.rs b/src/arm32/shifter/mod.rs index f658c2b..ae0b1f9 100644 --- a/src/arm32/shifter/mod.rs +++ b/src/arm32/shifter/mod.rs @@ -50,7 +50,7 @@ pub enum Shifter { ArithmeticShiftRightRegister { source: Register, shift: Register }, - Immediate { immediate: u32 }, + Immediate { source: u32 }, LogicalShiftLeftImmediate { source: Register, shift: u32 }, @@ -80,8 +80,8 @@ impl Display for Shifter { write!(f, "{source}, ASR {shift}") }, - Immediate { immediate } => { - write!(f, "#{immediate}<") + Immediate { source } => { + write!(f, "#{source}") }, LogicalShiftLeftImmediate { source, shift: 0x0 } => { |