MC68HC708XL36 FREESCALE [Freescale Semiconductor, Inc], MC68HC708XL36 Datasheet - Page 44

no-image

MC68HC708XL36

Manufacturer Part Number
MC68HC708XL36
Description
HCMOS Microcontroller Unit
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
CPU
Index Register
Stack Pointer
MC68HC708XL36
44
The 16-bit index register allows indexed addressing of a 64-Kbyte
memory space. H is the upper byte of the index register, and X is the
lower byte. H:X is the concatenated 16-bit index register.
In the indexed addressing modes, the CPU uses the contents of the
index register to determine the conditional address of the operand.
The index register can serve also as a temporary data storage location.
The stack pointer is a 16-bit register that contains the address of the next
location on the stack. During a reset, the stack pointer is preset to
$00FF. The reset stack pointer (RSP) instruction sets the least
significant byte to $FF and does not affect the most significant byte. The
stack pointer decrements as data is pushed onto the stack and
increments as data is pulled from the stack.
In the stack pointer 8-bit offset and 16-bit offset addressing modes, the
stack pointer can function as an index register to access data on the
stack. The CPU uses the contents of the stack pointer to determine the
conditional address of the operand.
Reset:
Reset:
Read:
Write:
Read:
Write:
Freescale Semiconductor, Inc.
For More Information On This Product,
X = Indeterminate
Bit
15
Bit
15
0
0
14
14
0
0
Go to: www.freescale.com
13
13
0
0
Figure 3. Index Register (H:X)
12
12
Figure 4. Stack Pointer (SP)
0
0
CPU
11
11
0
0
10
10
0
0
9
0
9
0
8
0
8
0
X
7
7
1
X
6
6
1
X
5
5
1
4
X
4
1
X
3
3
1
MOTOROLA
2
X
2
1
X
1
1
1
4-cpu8_a
Bit
Bit
0
X
0
1

Related parts for MC68HC708XL36