Instruction Cycle RTI

Instruction Cycle RTI - MAR R6 MDR memory[MAR PC MDR R6 R6...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
RTI (1000) Instruction Cycle Instruction Fetch MAR PC PC PC + 1 MDR memory[MAR] IR MDR Decode IR[15:12] decoded Evaluate Address n/a Operand Fetch n/a Execute if (! PSR[15] ) { /* pop the (supervisor) stack into PSR */ MAR R6 MDR memory[MAR] PSR MDR R6 R6 + 1 /* pop the (supervisor) stack into PC
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: */ MAR R6 MDR memory[MAR] PC MDR R6 R6 + 1 /* reset stack pointer if switching back to user mode */ if ( PSR[15] ) { Saved.SSP R6 R6 Saved.USP } } else Raise a privilege mode exception Store Result n/a...
View Full Document

Ask a homework question - tutors are online