MC68HC705JD FREESCALE [Freescale Semiconductor, Inc], MC68HC705JD Datasheet - Page 26

no-image

MC68HC705JD

Manufacturer Part Number
MC68HC705JD
Description
member of the low-cost
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
10
11
12
13
14
15
16
17
18
19
20
1
2
3
4
5
6
7
8
9
4.1.5.4 Zero Flag
4.1.5.5 Carry/Borrow Flag
4.2 Arithmetic/Logic Unit (ALU)
4.3 Low-Power Modes
4.3.1 STOP Mode
4-4
The CPU sets the zero flag when an arithmetic operation, logical operation, or data
manipulation produces a $00.
The CPU sets the carry/borrow flag when an addition operation produces a carry
out of bit 7 of the accumulator. Some logical operations and data manipulation
instructions also clear or set the carry/borrow flag.
The ALU performs the arithmetic and logical operations defined by the instruction
set.
The binary arithmetic circuits decode instructions and set up the ALU for the
selected operation. Most binary arithmetic is based on the addition algorithm,
carrying out subtraction as negative addition. Multiplication is not performed as a
discrete operation but as a chain of addition and shift operations within the ALU.
The multiply instruction (MUL) requires 11 internal processor cycles to complete
this chain of operations.
The following paragraphs describe the STOP and WAIT modes. (Refer also to
Data Retention
The STOP instruction puts the MCU in its lowest power-consumption mode. In
STOP mode, the following events occur:
The STOP instruction does not affect any other registers or any I/O lines.
The CPU clears TOF and RTIF, the timer interrupt flags in the timer control
and status register, removing any pending timer interrupts.
The CPU clears TOIE and RTIE, the timer interrupt enable bits in the timer
control and status register, disabling further timer interrupts.
The CPU clears the divide-by-four timer prescaler.
The CPU clears the interrupt mask in the condition code register, enabling
external interrupts.
The internal oscillator stops, halting all internal processing, including
operation of the timer and the COP timer.
Freescale Semiconductor, Inc.
Mode.)
For More Information On This Product,
CENTRAL PROCESSOR UNIT
Go to: www.freescale.com
Rev. 2
6.2

Related parts for MC68HC705JD