Datasheet

Table of Contents
MC68HC908QY4MC68HC908QT4MC68HC908QY2MC68HC908QT2MC68HC908QY1MC68HC908QT1
MOTOROLA Table of Contents 9
NON-DISCLOSURE AGREEMENT REQUIRED
6.5 Arithmetic/Logic Unit (ALU) . . . . . . . . . . . . . . . . . . . . . . . . . . .65
6.6 Low-Power Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
6.6.1 Wait Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
6.6.2 Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
6.7 CPU During Break Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . .66
6.8 Instruction Set Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
6.9 Opcode Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
Section 7. System Integration Module (SIM)
7.1 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75
7.2 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
7.3 RST and IRQ Pins Initialization . . . . . . . . . . . . . . . . . . . . . . . .79
7.4 SIM Bus Clock Control and Generation . . . . . . . . . . . . . . . . . .79
7.4.1 Bus Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
7.4.2 Clock Start-Up from POR. . . . . . . . . . . . . . . . . . . . . . . . . . .79
7.4.3 Clocks in Stop Mode and Wait Mode . . . . . . . . . . . . . . . . . .80
7.5 Reset and System Initialization. . . . . . . . . . . . . . . . . . . . . . . . .80
7.5.1 External Pin Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
7.5.2 Active Resets from Internal Sources . . . . . . . . . . . . . . . . . .81
7.5.2.1 Power-On Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82
7.5.2.2 Computer Operating Properly (COP) Reset. . . . . . . . . . .83
7.5.2.3 Illegal Opcode Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . .84
7.5.2.4 Illegal Address Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . .84
7.5.2.5 Low-Voltage Inhibit (LVI) Reset . . . . . . . . . . . . . . . . . . . .84
7.6 SIM Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85
7.6.1 SIM Counter During Power-On Reset . . . . . . . . . . . . . . . . .85
7.6.2 SIM Counter During Stop Mode Recovery. . . . . . . . . . . . . .85
7.6.3 SIM Counter and Reset States. . . . . . . . . . . . . . . . . . . . . . .85
7.7 Exception Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .86
7.7.1 Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .86
7.7.1.1 Hardware Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88
7.7.1.2 SWI Instruction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89