Question: Objective: lighting one segment after the other. . Pre - Requisites: Instructions of Microprocessor 8 0 8 5 Addressing modes of Microprocessor 8 0 8
Objective: lighting one segment after the other.
PreRequisites:
Instructions of Microprocessor
Addressing modes of Microprocessor
Flag register of Microprocessor
CMD EQU H
DAT EQU
ORG
MVI A
OUT CMD
CALL DELAY
MVI BH
INFLOOP:
MVI A
OUT CMD
MOV A B
OUT DAT
CALL ROTATE
CALL DELAY
JMP INFLOOP
DELAY:
LXI
DELOP:
DCX
MOV A H
ORA L
JNZ DELOP
RET
ROTATE:
MOV A B
RLC
MOV B A
RET
CMD DAT DELAY
DELOPC INFLOOP ROTATE
Provide; algorithm, flowcharts, machine code, enter and run the program.
Sketch the timing diagram of the instruction OUT D as used in the above program
Each group students to write a Table of results and submit after the exercise
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
