Computers and Technology

A processor begins with the number 5 in the memory cell 54. In memory cell 55 is an instruction to load the number 0 (zero) into register 2. In memory cell 56 is an instruction to load the contents of memory cell 54 into register 3. In memory cell 57 is an instruction to switch the program counter to 50 if register 2’s value is greater than 0. In memory cell 58 is an instruction to increment register 3 by 1. (i. e. r3’s new value will be r3’s old value+1) In memory cell 59 is an instruction to increment register 2 by 1. (i. e. r2’s new value will be r2’s old value+1) In memory cell 60 is an instruction to load the program counter with the value 57. In memory cell 61 is an instruction to stop the execution.
a. What is the memory address (cell number) of the last instruction that would be executed?
b. When the program starts executing, what value will be stored in register 2?
c. When the program stops executing, what value would be stored in the memory cell 54?

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 02:30, noah2o2o
These factors limit the ability to attach files to e-mail messages. location of sender recipient's ability to open file size of file type of operating system used
Answers: 2
image
Computers and Technology, 23.06.2019 12:00, muncyemily
From excel to powerpoint, you can copy and paste a. cell ranges and charts, one at a time. b. cell ranges and charts, simultaneously. c. charts only. d. cell ranges only.
Answers: 3
image
Computers and Technology, 23.06.2019 14:30, qveenvslayin
The basic work area of the computer is it screen that you when you first fire up your computer
Answers: 1
image
Computers and Technology, 23.06.2019 16:00, cravens511peeelg
An english teacher would like to divide 8 boys and 10 girls into groups, each with the same combination of boys and girls and nobody left out. what is the greatest number of groups that can be formed?
Answers: 2
Do you know the correct answer?
A processor begins with the number 5 in the memory cell 54. In memory cell 55 is an instruction to l...

Questions in other subjects: