mc68ec020 Freescale Semiconductor, Inc, mc68ec020 Datasheet - Page 273

no-image

mc68ec020

Manufacturer Part Number
mc68ec020
Description
Microprocessors
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68ec020AA16
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc68ec020AA16
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc68ec020AA25
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Company:
Part Number:
mc68ec020AA25
Quantity:
14
Company:
Part Number:
mc68ec020AA25
Quantity:
14
Part Number:
mc68ec020AA25R
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc68ec020FG25
Manufacturer:
FREESCALE
Quantity:
8 831
Part Number:
mc68ec020FG25
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc68ec020FG25
Manufacturer:
MOT
Quantity:
11
Part Number:
mc68ec020FG25
Manufacturer:
MOTOROL
Quantity:
20 000
Part Number:
mc68ec020RP16
Manufacturer:
PHILIPS
Quantity:
49
Part Number:
mc68ec020RP16
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
mc68ec020RP25
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
The processor uses the descriptor address registers during the CALLM instruction to
communicate the address of the type $01 descriptor, allowing external hardware to verify
that the address is a valid address for a type $01 descriptor. This validation prevents a
module from creating a type $01 descriptor to increase its access rights.
9.8.1 Module Call
The CALLM instruction is used to make the module call. For the type $00 module
descriptor, the processor creates and fills the module stack frame at the top of the active
system stack. The condition codes of the calling module are saved in the CCR field of the
frame. If opt is equal to 000 (arguments passed on the stack) in the module descriptor, the
MC68020/EC020 does not save the stack pointer or load a new stack pointer value. The
processor uses the module entry word to save and load the module data area pointer
register and then begins execution of the called module.
For the type $01 module descriptor, the processor must first obtain the current access
level from external hardware. It also verifies that the calling module has the right to read
from the area pointed to by the current value of the stack pointer by reading from that
address. It passes the descriptor address and increase access level to external hardware
for validation and then reads the access status. If external hardware determines that the
change in access rights should not be granted, the access status is zero, and the
processor takes a format error exception. No visible processor registers are changed, nor
should the current access level enforced by external hardware be changed. If external
hardware determines that a change should be granted, the external hardware changes its
access level, and the processor proceeds. If the access status register indicates that a
change in the stack pointer is required, the stack pointer is saved internally, a new value is
loaded from the module descriptor, and arguments are copied from the calling stack to the
new stack. Finally, the module stack frame is created and filled on the top of the current
stack. The condition codes of the calling module are saved in the CCR field of the frame.
Execution of the called module then begins as with a type $00 descriptor.
MOTOROLA
$02–$03
$04–$07
Value
Other
$00
$01
Undefined
Validity
Table 9-6. Access Status Register Codes
Invalid
Valid
Valid
Valid
Format Error
No Change in Access Rights
Change Access Rights with No Change of Stack Pointer
Change Access Rights and Change Stack Pointer
Undefined (Take Format Error Exception)
M68020 USER’S MANUAL
Processor Action
9-19

Related parts for mc68ec020