参数资料
型号: MC68008
厂商: Motorola, Inc.
英文描述: 16-Bit Microprocessor(16位微处理器)
中文描述: 16位微处理器(16位微处理器)
文件页数: 100/184页
文件大小: 1006K
代理商: MC68008
第1页第2页第3页第4页第5页第6页第7页第8页第9页第10页第11页第12页第13页第14页第15页第16页第17页第18页第19页第20页第21页第22页第23页第24页第25页第26页第27页第28页第29页第30页第31页第32页第33页第34页第35页第36页第37页第38页第39页第40页第41页第42页第43页第44页第45页第46页第47页第48页第49页第50页第51页第52页第53页第54页第55页第56页第57页第58页第59页第60页第61页第62页第63页第64页第65页第66页第67页第68页第69页第70页第71页第72页第73页第74页第75页第76页第77页第78页第79页第80页第81页第82页第83页第84页第85页第86页第87页第88页第89页第90页第91页第92页第93页第94页第95页第96页第97页第98页第99页当前第100页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页
MOTOROLA
M68000 8-/16-/32-BIT MICROPROCESSORS USER’S MANUAL
6-15
6.3.7 Privilege Violations
To provide system security, various instructions are privileged. An attempt to execute one
of the privileged instructions while in the user mode causes an exception. The privileged
instructions are as follows:
AND Immediate to SR
EOR Immediate to SR
MOVE to SR (68010 only)
MOVE from SR (68010 only)
MOVEC (68010 only)
MOVES (68010 only)
MOVE USP
OR Immediate to SR
RESET
RTE
STOP
Exception processing for privilege violations is nearly identical to that for illegal
instructions. After the instruction is fetched and decoded and the processor determines
that a privilege violation is being attempted, the processor starts exception processing.
The status register is copied; the supervisor mode is entered; and tracing is turned off.
The vector number is generated to reference the privilege violation vector, and the current
program counter and the copy of the status register are saved on the supervisor stack. If
the processor is an MC68010, the format/offset word is also saved. The saved value of
the program counter is the address of the first word of the instruction causing the privilege
violation. Finally, instruction execution commences at the address in the privilege violation
exception vector.
6.3.8 Tracing
To aid in program development, the M68000 Family includes a facility to allow tracing
following each instruction. When tracing is enabled, an exception is forced after each
instruction is executed. Thus, a debugging program can monitor the execution of the
program under test.
The trace facility is controlled by the T bit in the supervisor portion of the status register. If
the T bit is cleared (off), tracing is disabled and instruction execution proceeds from
instruction to instruction as normal. If the T bit is set (on) at the beginning of the execution
of an instruction, a trace exception is generated after the instruction is completed. If the
instruction is not executed because an interrupt is taken or because the instruction is
illegal or privileged, the trace exception does not occur. The trace exception also does not
occur if the instruction is aborted by a reset, bus error, or address error exception. If the
instruction is executed and an interrupt is pending on completion, the trace exception is
processed before the interrupt exception. During the execution of the instruction, if an
exception is forced by that instruction, the exception processing for the instruction
exception occurs before that of the trace exception.
As an extreme illustration of these rules, consider the arrival of an interrupt during the
execution of a TRAP instruction while tracing is enabled. First, the trap exception is
processed, then the trace exception, and finally the interrupt exception. Instruction
execution resumes in the interrupt handler routine.
相关PDF资料
PDF描述
MC68010 16-/32-Bit Microprocessor(16/32位微处理器)
MC6805R3 8-Bit Microcontroller Units (MCU).(8位微控制器)
MC68A21CL PERIPHERAL INTERFACE ADAPTER
MC68A21CP PERIPHERAL INTERFACE ADAPTER
MC68A21CS PERIPHERAL INTERFACE ADAPTER
相关代理商/技术参数
参数描述
MC6800CL 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:8-BIT MICROPROCESSING UNIT (MPU)
MC6800CP 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:8-BIT MICROPROCESSING UNIT (MPU)
MC6800CS 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:8-BIT MICROPROCESSING UNIT (MPU)
MC6800L 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:8-BIT MICROPROCESSING UNIT (MPU)
MC6800P 制造商:Motorola Inc 功能描述: