projects
/
sx
/
simavr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
regExp
home
|
summary
|
tags
|
heads
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
raw
|
patch
| inline |
side by side
(parent:
78703df
)
Commit
ab4b6b04c4fa7059f21e03a0b3a4cbc1dd167385
author
nnayo
<yann_gouy@yahoo.fr>
Wed, 12 Feb 2014 12:19:21 +0000
(13:19 +0100)
committer
nnayo
<yann_gouy@yahoo.fr>
Wed, 12 Feb 2014 12:19:21 +0000
(13:19 +0100)
simavr/sim/sim_core.c
patch
|
blob
|
history
|
download
diff --git
a/simavr/sim/sim_core.c
b/simavr/sim/sim_core.c
index 6418dda65103db002b1892719d9abb94ced74f33..40c536ee58a149573bfc19adddc3d8fd18185768 100644
(file)
--- a/
simavr/sim/sim_core.c
+++ b/
simavr/sim/sim_core.c
@@
-1178,7
+1178,7
@@
avr_flashaddr_t avr_run_one(avr_t * avr)
SREG();
cycle++;
} break;
- case 0x9700: { // SBIW - Subtract Immediate from Word 1001 011
0
KKdd KKKK
+ case 0x9700: { // SBIW - Subtract Immediate from Word 1001 011
1
KKdd KKKK
uint8_t r = 24 + ((opcode >> 3) & 0x6);
uint8_t k = ((opcode & 0x00c0) >> 2) | (opcode & 0xf);
uint8_t rdl = avr->data[r], rdh = avr->data[r+1];