Blogger

Delete comment from: Ken Shirriff's blog

GloriousCow said...

Hi Ken! Which CPU did you test against? On my particular 8088, I discovered that the value to compare against can be either 0x99 to 0x9F depending on the initial state of AF. If AF==1, the CPU compares against 0x9F before adding 60. This only changes the results of DAA for values of AL between 0x9A and 0x9F.

Feb 24, 2023, 11:45:26 AM


Posted to Understanding the x86's Decimal Adjust after Addition (DAA) instruction

Google apps
Main menu