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:
1d661de
)
Commit
6541b6de0a998400166bd6b8cf26ef1b689140dc
author
Sami Liedes
<sliedes@cc.hut.fi>
Wed, 23 Feb 2011 00:13:24 +0000
(
02:13
+0200)
committer
Michel Pollet
<buserror@gmail.com>
Wed, 23 Feb 2011 00:49:14 +0000
(
00:49
+0000)
The MOV instruction's TRACE() used the undefined variable vd.
Signed-off-by: Sami Liedes <sliedes@cc.hut.fi>
simavr/sim/sim_core.c
patch
|
blob
|
history
|
download
diff --git
a/simavr/sim/sim_core.c
b/simavr/sim/sim_core.c
index 9cbccd345427e6b512c847cbd08ee1baa9b3a9fb..402586610ca9ade9a0a694df8d7cd92a34ed89da 100644
(file)
--- a/
simavr/sim/sim_core.c
+++ b/
simavr/sim/sim_core.c
@@
-688,7
+688,7
@@
uint16_t avr_run_one(avr_t * avr)
case 0x2c00: { // MOV 0010 11rd dddd rrrr
get_r_dd_10(opcode);
uint8_t res = vr;
- STATE("mov %s
[%02x], %s[%02x] = %02x\n", avr_regname(d), vd
, avr_regname(r), vr, res);
+ STATE("mov %s
, %s[%02x] = %02x\n", avr_regname(d)
, avr_regname(r), vr, res);
_avr_set_r(avr, d, res);
} break;
default: _avr_invalid_opcode(avr);