English
Language : 

MC68HC705J2 Datasheet, PDF (24/82 Pages) Freescale Semiconductor, Inc – member of the low-cost
Freescale Semiconductor, Inc.
4.1.1 Accumulator
1
The accumulator is a general-purpose 8-bit register. The CPU uses the
2
accumulator to hold operands and results of arithmetic and nonarithmetic
operations.
3
4.1.2 Index Register
4
The 8-bit index register can perform two functions:
• Indexed addressing
5
• Temporary storage
6
In indexed addressing, the CPU uses the byte in the index register to determine
the conditional address of the operand.
7
The index register can also serve as an auxiliary accumulator for temporary
storage.
8
9
4.1.3 Stack Pointer
The stack pointer is a 16-bit register that contains the address of the next free
10
location on the stack. During a reset or after the reset stack pointer (RSP)
instruction, the stack pointer contents are preset to $00FF. The address in the
11
stack pointer decrements as data is pushed onto the stack and increments as data
is pulled from the stack.
12
The ten most significant bits of the stack pointer are permanently fixed at
0000000011, so the stack pointer produces addresses from $00C0 to $00FF. If
13
subroutines and interrupts use more than 64 stack locations, the stack pointer
wraps around to address $00C0 and begins writing over the previously stored data.
14
A subroutine uses two stack locations; an interrupt uses five locations.
15
16
17
18
19
20
CENTRAL PROCESSOR UNIT
4-2
Rev. 2
For More Information On This Product,
Go to: www.freescale.com