Address Registers; Control Registers - Motorola MC68030 User Manual

Enhanced 32-811 microprocessor
Hide thumbs Also See for MC68030:
Table of Contents

Advertisement

III
contains one digit; the four least significant bits contain the binary value and
the four most significant bits are undefined. Each byte of the packed BCD
format contains two digits; the least significant four bits contain the least
significant digit.
2.2.2 Address Registers
Each address register and stack pointer is 32 bits wide and holds a 32-bit
address. Address registers cannot be used for byte-sized operands. There-
fore, when an address register is used as a source operand, either the low-
order word or the entire long-word operand is used, depending upon the
operation size. When an address register is used as the destination operand,
the entire register is affected, regardless of the operation size. If the source
operand is a word size, it is first sign-extended to 32 bits and then used in
the operation to an address register destination. Address registers are used
primarily for addresses and to support address computation. The instruction
set includes instructions that add to, subtract from, compare, and move the
contents of address registers. The following example shows the organization
of addresses in address registers.
31
16
15
o
Sign-Extended
16-Bit Address Operand
31
o
Full 32-Bit Address Operand
Address Organization in Address Registers
2.2.3 Control Registers
2-4
The control registers described in this section contain control information
for supervisor functions and vary in size. With the exception of the user
portion of the status register (CCR), they are accessed only by instructions
at the supervisor privilege level.
The status register (SR), shown in Figure 1-4, is 16 bits wide. Only 12 bits of
the status register are defined; all undefined values are reserved by Motorola
for future definition. The undefined bits are read as zeros and should be
written as zeros for future compatibility. The lower byte of the status register
is the CCR. Operations to the CCR can be performed at the supervisor or user
MC68030 USER'S
MANUAL
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents