which of the following statement is true? 1. in pc relative addressing mode, the pc and constant need to be added to calcula te the branch address 2. in immediate addressing mode, the operand is a register
Added by Sarah L.
Step 1
In PC-relative addressing mode, the PC (Program Counter) and a constant (offset) are indeed added to calculate the branch address. So, this statement is true. Show more…
Show all steps
Your feedback will help us improve your experience
James Kiss and 99 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Which of the following is true of base-register addressing mode? (i) It is useful in creating self-relocating code. (ii) If it is included in an instruction set architecture, then an additional ALU is required for effective address calculation. (iii) The amount of displacement depends on the content of base register. (A) (i) only (B) (ii) only (C) (i) and (ii) only (D) (ii) and (iii) only
Computer Organization and Architecture
Machine Instructions, Addressing Modes
Which of the following is the correct sequence of micro-operations to add a number to the $\mathrm{AC}$ when the operand is a direct address operand and store the final result to $\mathrm{AC}$ ? (A) MAR $\leftarrow$ (IR(address)) MBR $\leftarrow$ memory $R_{1} \leftarrow(\mathrm{AC})+(\mathrm{MBR})$ (B) MAR \leftarrow IR(address) MBR \leftarrow MAR $R_{1} \leftarrow(\mathrm{MBR})$ $R_{2} \leftarrow(\mathrm{AC})+\left(R_{1}\right)$ $\mathrm{AC} \leftarrow R_{2}$ (C) MAR \leftarrow (IR(address)) MBR $\leftarrow$ Memory(MAR) $R_{1} \leftarrow(\mathrm{MBR})$ $R_{2} \leftarrow(\mathrm{AC})+\left(R_{1}\right)$ $\mathrm{AC} \leftarrow\left(R_{2}\right)$ (D) MAR \leftarrow (IR (address)) MBR $\leftarrow$ Memory(MAR) $\mathrm{AC} \leftarrow(\mathrm{AC})+(\mathrm{MAR})$
ALU and Data Path, CPU Control Design
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD