First post, by superfury
I notice that when executing the instruction "XOR AX,AX" where AX=0x0040 and FLAGS=0xF002, the result is AX=0 and flags=0xF002. In my emulator i'm getting FLAGS=0xF046 as a result (the Zero flag and Parity flag are set, since AX=0(Zero flag) and parity of 0 is even (no set bits in AL)). Anyone knows why Bochs doesn't set the zero and parity flags after an XOR instruction? (Instruction 0x33C0 in my testing (Generic Turbo XT) BIOS)
Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io