Question: Rewrite the following keyboard echo routine without indirect addressing. It means that you are not allowed to use LDI or STI instructions. The program must
Rewrite the following keyboard echo routine without indirect addressing. It means that you are not allowed to use LDI or STI instructions. The program must start at address x3000.
.ORIG x3000
POLL1 LDI R0, KBSRPtr
BRzp POLL1
LDI R0, KBDRPtr
POLL2 LDI R1, DSRPtr
BRzp POLL2
STI R0, DDRPtr
...
KBSRPtr .FILL xFE00
KBDRPtr .FILL xFE02
DSRPtr .FILL xFE04
DDRPtr .FILL xFE06
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
