Index | PAL Intro | Commands | Registers | Indices | Stack | Macros | Classes | Attributes | Errors
reg/type - Load register type
Synopsis
Description
Error Handling
Examples
See Also
Author
reg/type write, read <, write, read ... >
Loads the register type into the named registers. Register types are represented by a raw index number (PSUNIT_TYPE_RAWIDX) and a list of the types can be found in pal_registers(5). The arguments are grouped in pairs of write and read.
write Register to store the next type in. The type will be taken from the next read argument. read Register to read the type from. This type will be stored in the register named in the previous write argument.
A runtime error is generated if either a read or write argument is not a register.
reg/type P1, P0 Loads the type of data in register P0 storing the type index number in register P1.
pal_commands(5), pal_registers(5), pal_indices(5), reg_load(5), reg_move(5),
PROSE Assembly Language at prose.sourceforge.net.
Copyright (c) 2002-2009 Mark R. Bannister <cambridge@users.sourceforge.net>.
This is free software and can be downloaded from prose.sourceforge.net; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
PAL 1.0 | reg_type (5) | 27 October 2009 |