Question: Q1. Write an assembly language program using GNUSim8085 to do the following in the same order: 1. Load 30H into register C and 25H into

 Q1. Write an assembly language program using GNUSim8085 to do the

Q1. Write an assembly language program using GNUSim8085 to do the following in the same order: 1. Load 30H into register C and 25H into register B. [8 marks] 2.Add the content of the register B to register C. 3. Read the value of the input port whose address is 100. 4. Move the content of register C to the memory location whose address is 10 . Q2. Answer the questions: [7 Marks] a. Write and run the following program using GNUSim8085 software: MVI A,8 CPI 6 JZ SUB1 JP SUB2 HLT M1: MVI A,5 OUT 100 HLT M2: MOV B,A MVI A,5 STA 200 HLT b. Fill the following table from GnuSim8085 after the above program is successfully executed

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!