Commit 772406cb08f7eb9f867f840d922c6d7ffe370073
authorMichel Pollet <buserror@gmail.com>
Wed, 15 Feb 2017 08:33:08 +0000 (08:33 +0000)
committerMichel Pollet <buserror@gmail.com>
Wed, 15 Feb 2017 08:33:08 +0000 (08:33 +0000)
Makes the documentation ruby script choke.

Signed-off-by: Michel Pollet <buserror@gmail.com>
simavr/sim/sim_core.c

index c40cf549ffce901eacdc2051b27a1daae5a8749d..b469e35e00d8188d4dc66b9778567f29af9c0e6f 100644 (file)
@@ -1132,7 +1132,7 @@ run_one_again:
                                                        STATE("push %s[%02x] (@%04x)\n", avr_regname(d), vd, sp);
                                                        cycle++;
                                                }       break;
-                                               case 0x9400: {  // COM -- Ones Complement -- 1001 010d dddd 0000
+                                               case 0x9400: {  // COM -- One's Complement -- 1001 010d dddd 0000
                                                        get_vd5(opcode);
                                                        uint8_t res = 0xff - vd;
                                                        STATE("com %s[%02x] = %02x\n", avr_regname(d), vd, res);
@@ -1141,7 +1141,7 @@ run_one_again:
                                                        avr->sreg[S_C] = 1;
                                                        SREG();
                                                }       break;
-                                               case 0x9401: {  // NEG -- Twos Complement -- 1001 010d dddd 0001
+                                               case 0x9401: {  // NEG -- Two's Complement -- 1001 010d dddd 0001
                                                        get_vd5(opcode);
                                                        uint8_t res = 0x00 - vd;
                                                        STATE("neg %s[%02x] = %02x\n", avr_regname(d), vd, res);