subject

Suppose we are using an accumulator architecture. Several memory addressing modes are available to load the contents of memory to the accumulator. Suppose the instruction is at address 4.
The instruction LOAD_DIR uses the direct mode.
The instruction LOAD_INDIR uses the indirect mode.
The instruction LOAD_IMM uses the immediate mode.
The instruction LOAD_REG uses the register mode.
The instruction LOAD_REG_INDIR uses the register indirect mode.
The instruction LOAD_REL uses the relative mode.
Suppose that the memory at location 5 contains the number 8.
Suppose that the memory at location 7 contains the number 12.
Suppose that the memory at location 8 contains the number 7.
Suppose that the memory at location 9 contains the number 20.
Suppose that the memory at location 12 contains the number 16.
Suppose that the memory at location 16 contains the number 5.
Suppose that register 5 contains the number 7.
Suppose that register 7 contains the number 8.
Suppose that register 8 contains the number 12.
Suppose that register 12 contains the number 7.
What number would be loaded into the accumulator if the instruction is LOAD_DIR 5?

What number would be loaded into the accumulator if the instruction is LOAD_INDIR 5?

What number would be loaded into the accumulator if the instruction is LOAD_IMM 7?

What number would be loaded into the accumulator if the instruction is LOAD_REG 5?

What number would be loaded into the accumulator if the instruction is LOAD_REG_INDIR 5?

What number would be loaded into the accumulator if the instruction is LOAD_REL 5?

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:00
Analyze the following code. int x = 1; while (0 < x) & & (x < 100) system.out.println(x++); a. the loop runs forever. b. the code does not compile because the loop body is not in the braces. c. the code does not compile because (0 < x) & & (x < 100) is not enclosed in a pair of parentheses. d. the numbers 1 to 99 are displayed. e. the numbers 2 to 100 are displayed.
Answers: 3
question
Computers and Technology, 23.06.2019 03:00
State 7 common key's for every keyboard
Answers: 1
question
Computers and Technology, 24.06.2019 07:30
John recently worked on a project about various programming languages. he learned that though procedural language programs are useful, they have disadvantages too. what is a disadvantage of programs written in procedural languages? a. programs do not represent data complexity. b. programs take more time to execute. c. programs are prone to security threats. d. programs do not interface with multiple platforms.
Answers: 3
question
Computers and Technology, 24.06.2019 13:20
In the insert table dialog box, you select the checkbox to create the first row as the header of the table.
Answers: 3
You know the right answer?
Suppose we are using an accumulator architecture. Several memory addressing modes are available to l...
Questions
question
Health, 27.08.2019 11:10
question
Mathematics, 27.08.2019 11:10
Questions on the website: 13722367