YJDoc2 / 8086-Emulator

An Intel 8086 Emulator created in Rust.
Apache License 2.0
340 stars 49 forks source link

Fix overflow and sign flags in add,adc,sub,sbb,inc and dec instructions #18

Closed YJDoc2 closed 1 year ago

YJDoc2 commented 1 year ago

This fixes the incorrect way we were setting especially the overflow flags, and then the sign flag