ISA & Addressing Mode The instruction opcodes and formats for a computer system are as follows Format AD AD OP AD SA OP SA SA LDdir LDindir LDrel LDindex ACC ← 씨씨ADn ACC ← OP ACC ← MPC-AD]...
ISA & Addressing Mode The instruction opcodes and formats for a computer system are as follows Format AD AD OP AD SA OP SA SA LDdir LDindir LDrel LDindex ACC ← 씨씨ADn ACC ← OP ACC ← MPC-AD] ACC ← MRtSA].OP] ACC -RISA] 001 010 011 101 110 ·ISA Suppose the Instruction format ts as follows: AD: Address write the Operation for LDimm and LDreg (for immediate and register direct addressing) OP: Constant Operand SA : Register A ACC is Accumulator And Instruction memory content is And registers have the following values 000 010 00000000 3001 010 00000001ot Sappose we have the follewing instruction at memory address 2 (PC-2) 011 010 000000001 Load relatve, effecthe address PC AD-2-1-3 what value gets loaded into the accumdator after executing this instruction? 31 ms loaded, therefore 001 ΟΟΟΟΟΟΟΟι pra loaded to the Renate Example - Multi Cycle/Pipeline down into 5 steps (data path stage): 1. Instruction Fetch
ISA & Addressing Mode The instruction opcodes and formats for a computer system are as follows Format AD AD OP AD SA OP SA SA LDdir LDindir LDrel LDindex ACC ← 씨씨ADn ACC ← OP ACC ← MPC-AD] ACC ← MRtSA].OP] ACC -RISA] 001 010 011 101 110 ·ISA Suppose the Instruction format ts as follows: AD: Address write the Operation for LDimm and LDreg (for immediate and register direct addressing) OP: Constant Operand SA : Register A ACC is Accumulator And Instruction memory content is And registers have the following values 000 010 00000000 3001 010 00000001ot Sappose we have the follewing instruction at memory address 2 (PC-2) 011 010 000000001 Load relatve, effecthe address PC AD-2-1-3 what value gets loaded into the accumdator after executing this instruction? 31 ms loaded, therefore 001 ΟΟΟΟΟΟΟΟι pra loaded to the Renate Example - Multi Cycle/Pipeline down into 5 steps (data path stage): 1. Instruction Fetch