word

This macro returns a word value at the specified address. It returns an unsigned short integer value (a two byte word of memory value) for the contents of memory pointed to by addr.

Syntax:

unsigned short int word (addr)
void *
addr;

where:

addr                       Pointer to void, pointing to the address of the first byte of a two byte word of memory.

Return Value

unsigned short integer
The return value is equal to the memory contents contained in the word whose first byte is pointed to by addr.

Rules

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