Commit ab4b6b04c4fa7059f21e03a0b3a4cbc1dd167385
authornnayo <yann_gouy@yahoo.fr>
Wed, 12 Feb 2014 12:19:21 +0000 (13:19 +0100)
committernnayo <yann_gouy@yahoo.fr>
Wed, 12 Feb 2014 12:19:21 +0000 (13:19 +0100)
simavr/sim/sim_core.c

index 6418dda65103db002b1892719d9abb94ced74f33..40c536ee58a149573bfc19adddc3d8fd18185768 100644 (file)
@@ -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];