From ab4b6b04c4fa7059f21e03a0b3a4cbc1dd167385 Mon Sep 17 00:00:00 2001 From: nnayo Date: Wed, 12 Feb 2014 13:19:21 +0100 Subject: [PATCH] fix typo --- simavr/sim/sim_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simavr/sim/sim_core.c b/simavr/sim/sim_core.c index 6418dda..40c536e 100644 --- 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 0110 KKdd KKKK + case 0x9700: { // SBIW - Subtract Immediate from Word 1001 0111 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]; -- 2.39.5