Non-decimal radices/Convert: Difference between revisions

m
Line 40:
byte 0D5h,10h ;inlined bytecode for AAD using base 16</lang>
 
The result is that <code>AX = 0x0016</code>. This effectively lets us convert a hexadecimal value to one that "looks like" its decimal equivalent, albeit the logic only holds for 8-bit values. (This is a useful technique for printing numbers to the screen in decimal.)
 
=={{header|ACL2}}==
1,489

edits