Question: Q5 The following program reads a value in memory location x4000, test the value and prints it if its is valid. What is the program
The following program reads a value in memory location x4000, test the value and prints it if its is valid. What is the program testing for? ORIG x3000 LDI R0, A BRn DONE LD R1, B ADD R1, R0, R1 BRp DONE OUT DONE HALT A. FILL x4000 B. FILL -127 b. Perform pass one of the LC-3 Assembler (create the symbol table) for the program in a. c. Perform the second pass of the Assembler for the following lines from the program in a. LD, R1, B Add R1, R0, R1 Brp DONE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
