mikeakohn / naken_asm

Assembler for MSP430, dsPIC, ARM, MIPS, 65xx, 68000, 8051/8052, Atmel AVR8, and others.
http://www.mikekohn.net/micro/naken_asm.php
GNU General Public License v3.0
290 stars 49 forks source link

AVR8: Fix wrong flag change for SBCI and SUBI. #90

Closed TPKato closed 3 years ago

TPKato commented 3 years ago

The flags (SREG) change after SBCI and SUBI incorrectly, because a wrong function (simulate_execute_avr8_set_sreg_arith()) is called after these operators.

mikeakohn commented 3 years ago

Again, nice find.. thanks! :)