projects
/
power-instruction-analyzer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e7d5f8
)
fix addex again
author
Jacob Lifshay
<programmerjake@gmail.com>
Fri, 4 Sep 2020 03:28:56 +0000
(20:28 -0700)
committer
Jacob Lifshay
<programmerjake@gmail.com>
Fri, 4 Sep 2020 03:41:04 +0000
(20:41 -0700)
src/instr_models.rs
patch
|
blob
|
history
diff --git
a/src/instr_models.rs
b/src/instr_models.rs
index 4de58fe5e7250cd2a8221621799a7b649ea09783..2fee3db4e2cfb621e9278ccc6ab371fa8ba7324b 100644
(file)
--- a/
src/instr_models.rs
+++ b/
src/instr_models.rs
@@
-263,7
+263,7
@@
pub fn subfzeo(inputs: InstructionInput) -> InstructionResult {
pub fn addex(inputs: InstructionInput) -> InstructionResult {
let ra: u64 = inputs.try_get_ra()?;
- let rb: u64 = inputs.try_get_r
a
()?;
+ let rb: u64 = inputs.try_get_r
b
()?;
let OverflowFlags {
ov: carry_in, so, ..
} = inputs.try_get_overflow()?;