byte

This macro returns a value between 0 and 255, corresponding to the memory contents at the location specified by addr. The byte macro uses the indirection operator to obtain the value.

Syntax:

unsigned char byte (addr)
void *
addr;

where:

addr

General purpose pointer variable of any data type.

Return Value

unsigned char

Memory contents located at the address pointed to by addr.

Rules

The argument default type is specified by using the OPTION command:

option radix = [ decimal | hex ]

Example

To display the contents of the hexadecimal address Ox8f5ffff2, use:

PRINTVALUE byte(Ox8f5ffff2)