Defines | |
#define | BINTnibbles(src) (10) |
The size of a BINT in nibbles. | |
Functions | |
bool | isBINT (SatAddr src) |
is object a BINT? | |
bool | BINTdecode (SatAddr src, int *dst) |
Convert BINT to C integer. | |
SatAddr | BINTencode (int src, SatAddr dst) |
Convert a C integer to a BINT. | |
SatAddr | makeBINT () |
Create a new BINT in tempOb. It's value is undefined. |
#define BINTnibbles | ( | src | ) | (10) |
The size of a BINT in nibbles.
src | Saturn address of the BINT. Although unnecessary, the parameter is included for consistency |
bool BINTdecode | ( | SatAddr | src, | |
int * | dst | |||
) |
Convert BINT to C integer.
src | The BINT to decode | |
dst | Where to store the BINT's value |
Convert a C integer to a BINT.
src | The integer to convert. It must be between 0x0 and 0xFFFFF | |
dst | Where to store the BINT. If zero then a new BINT is created. |
bool isBINT | ( | SatAddr | src | ) |
is object a BINT?
src | Saturn address of an object |