Q1) Write a program to add 3 numbers ( 2 bytes each), The 1" one is stored in memory locations 2033,2034, the 2d one is stored in memory locations 2044,2045 and the third one is stored in 2066,2067. Store the result in 2055 and 2056. Q2) What is the addressing mode of each of the following instructions: a- INX D b- MVI M,00 с- СМР, D d- STA 2020 e- CMC Q3) Write a program to implement each one of the following gates: a- NAND gate b- XNOR gate c-negative OR

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter2: Problem Solving Using C++using
Section2.5: Variables And Declaration Statements
Problem 11E
icon
Related questions
Question
Q1) Write a program to add 3 numbers ( 2 bytes each), The 1" one is
stored in memory locations 2033,2034, the 2nd one is stored in memory
locations 2044,2045 and the third one is stored in 2066,2067. Store the
result in 2055 and 2056.
Q2) What is the addressing mode of each of the following instructions:
a- INX D
b- MVI M,00
с- СМР, D
d- STA 2020
e- СМС
Q3) Write a program to implement each one of the following gates:
a- NAND gate
b- XNOR gate
c-negative OR
Q4) Execute the following program (using 8085 Simulator) step by step
to complete the table below:
ML
Instruction
MVI A,44
A
F
2000
STC
XRI 33
ANI 77
LXI H, 2030
MOV M,A
DCR A
DCX H
MOV M,A
HLT
Transcribed Image Text:Q1) Write a program to add 3 numbers ( 2 bytes each), The 1" one is stored in memory locations 2033,2034, the 2nd one is stored in memory locations 2044,2045 and the third one is stored in 2066,2067. Store the result in 2055 and 2056. Q2) What is the addressing mode of each of the following instructions: a- INX D b- MVI M,00 с- СМР, D d- STA 2020 e- СМС Q3) Write a program to implement each one of the following gates: a- NAND gate b- XNOR gate c-negative OR Q4) Execute the following program (using 8085 Simulator) step by step to complete the table below: ML Instruction MVI A,44 A F 2000 STC XRI 33 ANI 77 LXI H, 2030 MOV M,A DCR A DCX H MOV M,A HLT
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Fundamentals of Computer System
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr