TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: SCOTT MCNAY
from: DARRYL GREGORASH
date: 1997-12-28 14:36:00
subject: pure Hex Programming

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.