Re:Understanding the x86's Decimal Adjust after Addition (DA...
by rvalles on Tuesday January 31, 2023 @12:57AM
(#34591743)
I have used DAA recently, in my "load option ROM in RAM floppy tool"[0]. Specifically, I use it for printing numbers as hexadecimal[1], as unfortunately the ASCII standard is not arranged in a way as to facilitate this.
0. https://github.com/rvalles/optromloader/
1. https://github.com/rvalles/optromloader/blob/master/optromlo...
> Even Intel's x86 processors are moving away from the DAA instruction; it generates an invalid opcode exception in x86-64 mode.
That's the first I've heard of that so I'm guessing no one complained.