A) Write the instructions for the following scenario: - Read two numbers from input ports (10,11). If the both inputs are equal jump to label (equal) in which put 15 in hexa into register B and halt the program, Otherwise load (-3) to the accumulator, and continually increment the accumulator to reach to 2.

EBK ELECTRICAL WIRING RESIDENTIAL
19th Edition
ISBN:9781337516549
Author:Simmons
Publisher:Simmons
Chapter32: Standby Power Systems
Section: Chapter Questions
Problem 7R: Briefly explain the function of a transfer switch. _____
icon
Related questions
Question
Question-1
A) Write the instructions for the following scenario:
Read two numbers from input ports (10,11).
If the both inputs are equal jump to label (equal) in which put 15 in hexa into register B and halt
the program,
Otherwise load(-3) to the accumulator, and continually increment the accumulator to reach to 2.
B) Type above program on GnuSim8085 and run it three times with the input values in the
following table, and in each run fill line of the following table.
Note: (don't forget to reset all before each run and update the input port)
Port 1 Port 2 Register A
Register B
| Flag s
Flag z
7.
Transcribed Image Text:Question-1 A) Write the instructions for the following scenario: Read two numbers from input ports (10,11). If the both inputs are equal jump to label (equal) in which put 15 in hexa into register B and halt the program, Otherwise load(-3) to the accumulator, and continually increment the accumulator to reach to 2. B) Type above program on GnuSim8085 and run it three times with the input values in the following table, and in each run fill line of the following table. Note: (don't forget to reset all before each run and update the input port) Port 1 Port 2 Register A Register B | Flag s Flag z 7.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
MOS logic circuit
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, electrical-engineering and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK ELECTRICAL WIRING RESIDENTIAL
EBK ELECTRICAL WIRING RESIDENTIAL
Electrical Engineering
ISBN:
9781337516549
Author:
Simmons
Publisher:
CENGAGE LEARNING - CONSIGNMENT