Index | PAL Intro | Commands | Registers | Indices | Stack | Macros | Classes | Attributes | Errors


Manual Reference Pages  - reg_type (5)

NAME

reg/type - Load register type

CONTENTS

Synopsis
Description
Error Handling
Examples
See Also
Author

SYNOPSIS

reg/type write, read <, write, read ... >

DESCRIPTION

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.

ERROR HANDLING

A runtime error is generated if either a read or write argument is not a register.

EXAMPLES

reg/type P1, P0
  Loads the type of data in register P0 storing the type index number in register P1.

SEE ALSO

pal_commands(5), pal_registers(5), pal_indices(5), reg_load(5), reg_move(5),
PROSE Assembly Language at prose.sourceforge.net.

AUTHOR

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
Generated by manServer 1.07 from man5/reg_type.5 using man macros.