MC68020 Motorola, MC68020 Datasheet - Page 271

no-image

MC68020

Manufacturer Part Number
MC68020
Description
(MC68020 / MC68EC020) MICROPROCESSORS USERS MANUAL
Manufacturer
Motorola
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68020/BZAJC
Quantity:
3
Part Number:
MC68020CEH16E
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68020CEH25
Manufacturer:
XILINX
Quantity:
101
Part Number:
MC68020CEH25E
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68020CFC16E
Manufacturer:
MOT
Quantity:
190
Part Number:
MC68020CFC16E
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
MC68020CFC20E
Manufacturer:
FREESCALE
Quantity:
101
Part Number:
MC68020CFC25
Manufacturer:
FREESCALE
Quantity:
101
Part Number:
MC68020CRC25E
Manufacturer:
AD
Quantity:
423
Part Number:
MC68020EH16E
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68020EH20E
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68020FC16E
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
All module descriptor types $10–$1F are reserved for user definition and cause a format
error exception. This provides the user with a means of disabling any module by setting a
single bit in its descriptor without loss of any descriptor information.
If the called module does not wish the module data area pointer to be loaded into a
register, the module entry word can select register A7, and the loaded value will be
overwritten with the correction stack pointer value after the module stack frame is created
and filled.
9.7.2 Module Stack Frame
Figure 9-12 illustrates the format of the module stack frame. This frame is constructed by
the CALLM instruction and is removed by the RTM instruction. The first and second long
words contain control information passed by the CALLM instruction to the RTM instruction.
The module descriptor pointer contains the address of the descriptor used during the
module call. All other locations contain information to be restored on return to the calling
module.
The PC is the saved address of the instruction following the CALLM instruction. The opt
and type fields, which specify the argument options and type of module stack frame, are
copied to the frame from the module descriptor by the CALLM instruction; the RTM
instruction will cause a format error if the opt and type fields do not have recognizable
values. The access level is the saved access control information, which is saved from
external hardware by the CALLM instruction and restored by the RTM instruction. The
argument count field is set by the CALLM instruction and is used by the RTM instruction to
remove arguments from the stack of the calling module. The contents of the CCR are
saved by the CALLM instruction and restored by the RTM instruction. The saved stack
pointer field contains the value of the stack pointer when the CALLM instruction started
execution, and that value is restored by RTM. The saved module data area pointer field
contains the saved value of the module data area pointer register from the calling module.
MOTOROLA
SP
+$08
+$0C
+$10
+$18
15
0
0
OPT
Figure 9-12. Module Call Stack Frame
0
0
13
0
0
12
0
0
M68020 USER’S MANUAL
SAVED MODULE DATA AREA POINTER
0
0
MODULE DESCRIPTION POINTER
TYPE
SAVED PROGRAM COUNTER
0
0
ARGUMENTS (OPTIONAL)
0
0
(RESERVED)
0
0
8
7
SAVED ACCESS LEVEL
CONDITION CODES
ARGUMENT COUNT
0
9- 17

Related parts for MC68020