27.10.2013 Views

MOTOROLA M68000 FAMILY Programmer's Reference ... - Freescale

MOTOROLA M68000 FAMILY Programmer's Reference ... - Freescale

MOTOROLA M68000 FAMILY Programmer's Reference ... - Freescale

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>MOTOROLA</strong><br />

<strong>M68000</strong> <strong>FAMILY</strong> PROGRAMMER’S REFERENCE MANUAL<br />

Introduction<br />

supported, where T0 is always zero, and only one system stack where the M-bit is always<br />

zero. I2, I1, and I0 define the interrupt mask level.<br />

T1 T0 S M 0 I2 I1 I0 0 0 0 X N Z V C<br />

TRACE<br />

ENABLE<br />

SUPERVISOR/USER STATE<br />

SYSTEM BYTE<br />

1.3.3 Vector Base Register (VBR)<br />

.<br />

INTERRUPT<br />

PRIORITY MASK<br />

Figure 1-8. Status Register<br />

The VBR contains the base address of the exception vector table in memory. The<br />

displacement of an exception vector adds to the value in this register, which accesses the<br />

vector table.<br />

1.3.4 Alternate Function Code Registers (SFC and DFC)<br />

The alternate function code registers contain 3-bit function codes. Function codes can be<br />

considered extensions of the 32-bit logical address that optionally provides as many as eight<br />

4-Gbyte address spaces. The processor automatically generates function codes to select<br />

address spaces for data and programs at the user and supervisor modes. Certain<br />

instructions use SFC and DFC to specify the function codes for operations.<br />

1.3.5 Acu Status Register (MC68EC030 only)<br />

USER BYTE<br />

(CONDITION CODE REGISTER)<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

OVERFLOW<br />

NEGATIVE<br />

MASTER/INTERRUPT STATE EXTEND<br />

T1 T0<br />

0 0<br />

1 0<br />

0 1<br />

1 1<br />

TRACE MODE<br />

NO TRACE<br />

TRACE ON ANY INSTRUCTION<br />

TRACE ON CHANGE OF FLOW<br />

UNDEFINED<br />

S M<br />

0 x<br />

1 0<br />

1 1<br />

ACTIVE STACK<br />

The access control unit status register (ACUSR) is a 16-bit register containing the status<br />

information returned by execution of the PTEST instruction. The PTEST instruction<br />

searches the access control (AC) registers to determine a match for a specified address. A<br />

match in either or both of the AC registers sets bit 6 in the ACUSR. All other bits in the<br />

ACUSR are undefined and must not be used.<br />

USP<br />

ISP<br />

MSP<br />

CARRY<br />

ZERO<br />

1-11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!