Question: Now update the program you decoded in Task 2 . 1 . Removing all hard - coded memory addresses by adding labels to replace all
Now update the program you decoded in Task Removing all hardcoded memory
addresses by adding labels to replace all memory locations that are used as addresses
in the program instructions. Labels should have meaningful names in the context of what
the program does ie not just A B C For the example above, this could result in the
following program:
Start, Jump
Dec
Dec
Dec
Dec
MainRoutine,JnS B
Load A
Store
JnS
Jump F
Dec
Dec
Input
Store A
JumpI B
Dec
Dec
Load
Skipcond
Jump
JumpI
Load
Subt
Store F
Load
Subt
Store
LoadI F
Add
StoreI F
Jump
Halt
Dec
HEX B
Hex
Hex
Hex
Dec
Hex
Hex
Dec
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
