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

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!