Replying to a message of Scott McNay to Peter Magnusson:
SM> You might take a look at the AAM and AAD instruction. As
SM> you probably know, it's officially a two-byte opcode, but
SM> it's actually a one-byte opcode followed by a single data
SM> byte, 0x0A. If, for example, you use 0x08 instead, you get
SM> an instruction that converts binary to/from octal.
SM> Apparently, on the NEC chips (I dont have a PC or XT
SM> motherboard to test with anymore, and I doubt that I still
SM> have any NEC chips either, so I can't confirm this),
SM> supposedly the AAM and AAD instructions don't work
SM> correctly for any operand other than 0x0A. Thus, a good
SM> reason to not rely upon such ondocumented behavior.
I had a V20; they work fine for any byte following the opcode, because they
ignore that byte.. decimal values only.
--- FleetStreet 1.21 NR
---------------
* Origin: BIG BANG Burger Bar: Regina SK Canada (1:140/86)
|