Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.



Dear Student, you are given typical view of selected Memory and Processor registers in Figure 1. In memory, you can see three instruction codes in upper area, while two data values are given in lower part. These instruction codes represent an addition operation.

Addition Operation:  You are required to perform an addition operation in which you have to add the contents of memory word at address 781 to the contents of memory word at 782. After performing this addition, result should be stored at 782. Your task is to perform step-by-step execution of these three instructions and show registers configuration at each step.

For your understanding, Step-1 of this sequence of execution is shown in Figure 1.  In this Figure, you can see PC=200 which indicate that instruction stored at address 200 is in execution and the same instruction (1781) is loaded in IR register.




CPU register


1 7 8 1




5 7 8 2




2 7 8 2

1 7 8 1








7 8 1

0 0 0 4


7 8 2

0 0 0 2

(STEP 1)









AC is Accumulator Register.

PC is Program Counter.

IR is Instruction Register.



You need to complete execution of the three given instructions and provide step wise registers and memory configuration. Please submit your solution in MS Word format by completing/filling the provided steps on page-4.


Hint Regarding Three Instructions: 

  • First instruction 1781 means Load value stored at address 781 into accumulator register.
  • Second instruction 5782 means perform addition of value stored at address 781 with value in accumulator register and store the result in accumulator register.
  • Third instruction 2782 means store value of accumulator register at address 782.

Views: 6712

Replies to This Discussion

bs kro Raza bhya sb ka mazaq asy urra ry jsy ap ny PHD ki hui programing mn

jokes aside... I still cant understand what MDB mod is saying about assignment 1 hint #2

hahahahahahha adnan bhai thek kaha ap ne

Raza_ bhai phr ap bta do koi soln

any one upload the correct soltn, it is to much confusing.

sadia javaid kia ap nay ya sari discussion check kar li hai ??

g tariq bhi check ki bt man confude ho rai hn,

man assignmnt ka kh rai hn confusing hai, q k book man bi kch khas understand nai ho raha


Looking For Something? Search Below

Top Trends 

Latest Activity

Aijaz khan updated their profile
9 minutes ago
Aijaz khan joined + M.Tariq Malik's group
11 minutes ago
Profile IconRibqa, Muhammad Rizwan Ansari, Muhammad Imran and 3 more joined Virtual University of Pakistan
24 minutes ago
Huma noor liked + M.Tariq Malik's group ENG101 English Comprehension
32 minutes ago
Melissa Dorn replied to + M.Tariq Malik's discussion Reality of Modern Co-Education System of Pakistan
15 hours ago
Profile IconSamrina, Malaika Iqbal, Tahir Abbas and 2 more joined Virtual University of Pakistan
memon added a discussion to the group MGT610 Business Ethics
Profile IconStudent, Batool, Suha Khan and 3 more joined Virtual University of Pakistan

© 2022   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service