REGISTER PSAM/DAPDB Commands REGISTER
NAME
registers - display MCU registers, PE registers and the Edge
register
SYNOPSIS
registers [ <register> ] [ <typesize> ]
DESCRIPTION
The registers command displays data held in the DAP MCU
registers, PE registers and the edge register. It also
displays the Carry (C) and Overflow (V) flags, and the
hardware DO loop iteration count when in a hardware DO loop.
If no parameters are supplied all the DAP registers, the C
and V flags and the hardware DO loop count, if any, are
displayed.
Registers can be displayed individually by supplying the
<register> parameter as follows:
a - A register
c - C register
q - Q register
m<n> - MCU register <n>
me - edge register
d - hardware DO loop iteration count if in a
hardware DO loop, otherwise silent
f - C and V flags
m* - all MCU registers, edge register, DO loop
count and C & V flags
The MCU registers and the edge register can be displayed in
address format or in bit, character, real, integer or hexa-
decimal format by supplying the <typesize> parameter as fol-
lows:
a - address (plane.row.word)
b<n> - as <n> bits
c<n> - <n> bits as characters
e<n> - <n> bit real
AMT Release 4.1S Last change: 11th May 1989 1
REGISTER PSAM/DAPDB Commands REGISTER
h<n> - <n> bit hexadecimal
i<n> - <n> bit integer
The default type is hexadecimal. The default size is the
size of the register being displayed. The size parameter,
<n>, is optional and specifies the number of bits taken from
the rightmost, least significant end of the register to be
displayed. If specified, <n> must not exceed the size of the
register being displayed. Furthermore the size of real
numbers must be a multiple of 8 greater than or equal to 24,
and the size of characters must be a multiple of 8.
EXAMPLES
register a print the A register plane.
register m4 i25 print register m4 as a 25-bit
integer.
register me i print the edge register as a 32-bit
integer (DAP 500) or as a 64-bit
integer (DAP 600).
register m5 a print register m5 in address for-
mat.
SEE ALSO
array, code
AMT Release 4.1S Last change: 11th May 1989 2