Question
Download Solution PDFThe following program is stored in the memory unit of the basic computer. Give the content of accumulator register in hexadecimal after the execution of the program.
Location |
Instruction |
010 |
CLA |
011 |
ADD 016 |
012 |
BUN 014 |
013 |
HLT |
014 |
AND 017 |
015 |
BUN 013 |
016 |
C1A5 |
017 |
93C6 |
Answer (Detailed Solution Below)
Detailed Solution
Download Solution PDF
Location |
Instruction |
Operation |
Content of accumulator |
order of instruction |
010 |
CLA |
Clear Accumulator |
0000 |
1st |
011 |
ADD 016 |
ADD (C1A5) to Accumulator |
C1A5 |
2nd |
012 |
BUN 014 |
Goto address 014 |
C1A5 |
3rd |
013 |
HLT |
Terminate program |
8184 |
5th |
014 |
AND 017 |
AND (93C6) with Accumulator |
8184 |
4th |
015 |
BUN 013 |
Goto address 013 |
|
|
016 |
C1A5 |
|
|
|
017 |
93C6 |
|
|
|
C1A5 =1100 0001 1010 0101
& 93C6 = 1001 0011 1100 0110
____________________________
8184 = 1000 0001 1000 0100
The content of accumulator register in hexadecimal after the execution of the program is 8184
Important Point:
In instruction address in mentioned not data
Last updated on Jul 7, 2025
-> The UGC NET Answer Key 2025 June was released on the official website ugcnet.nta.ac.in on 06th July 2025.
-> The UGC NET June 2025 exam will be conducted from 25th to 29th June 2025.
-> The UGC-NET exam takes place for 85 subjects, to determine the eligibility for 'Junior Research Fellowship’ and ‘Assistant Professor’ posts, as well as for PhD. admissions.
-> The exam is conducted bi-annually - in June and December cycles.
-> The exam comprises two papers - Paper I and Paper II. Paper I consists of 50 questions and Paper II consists of 100 questions.
-> The candidates who are preparing for the exam can check the UGC NET Previous Year Papers and UGC NET Test Series to boost their preparations.