From: nnayo Date: Wed, 12 Feb 2014 12:19:21 +0000 (+0100) Subject: fix typo X-Git-Tag: v1.2~36^2 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=ab4b6b04c4fa7059f21e03a0b3a4cbc1dd167385;p=sx%2Fsimavr.git fix typo --- 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];