Skip to Content
Amiga Assembly Library v41.21 — Motorola 68020 shared library for Commodore Amiga
DocumentationMathOverview

Math

The Math module provides number format conversion functions. These routines convert between string representations (decimal, hexadecimal, binary) and numeric values, and vice versa.

String to Value

FunctionDescription
StringDecToValueConvert a decimal string to a LONG value
StringHexToValueConvert a hexadecimal string to a LONG value
StringBinToValueConvert a binary string to a LONG value

Value to String

FunctionDescription
ValueToStringDecConvert a LONG value to a decimal string
ValueToStringHexConvert a LONG value to a hexadecimal string
ValueToStringBinConvert a LONG value to a binary string

All conversion functions operate on 32-bit signed LONG values and use fast lookup tables for optimal performance on the 68020 processor.

Last updated on