Non-decimal radices/Convert: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) |
||
Line 40: | Line 40: | ||
byte 0D5h,10h ;inlined bytecode for AAD using base 16</lang> |
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. |
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}}== |
=={{header|ACL2}}== |