Please enable JavaScript to view this site.

A-Shell Consolidated Reference

Navigation: Subroutines > MIAMEX

MX_GETHEX, MX_SETHEX

Scroll Prev Top Next More

Reviewed and revised April 2024

xcall MIAMEX, MX_GETHEX, hexon

xcall MIAMEX, MX_SETHEX, hexon

MX_GETHEX (MIAMEX 7) gets, and MX_SETHEX (MIAMEX 8) sets, the default radix for non-decimal numeric displays.

Parameters

hexon  (Integer)  [in for SET, out for GET]

If non-zero, mode is hex, else octal.

Comments

Mainly this affects functions such as DUMP which display data in either octal or hex format, depending on the current radix. The option can also be displayed and set via the SET command, i.e. SET OCTAL or SET HEX.