Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q.8. (8 points) Given the following assembly language program and its equivalent machine language code where some references are missing. The assembler generates a relocatable
Q.8. (8 points) Given the following assembly language program and its equivalent machine language code where some references are missing. The assembler generates a relocatable code. All references use direct addressing. Write the values of the location counter (LC) and the contents of the symbol table, and also fill in the missing references in the machine code. (Assume that 3 bytes are allocated for each instruction and WORD pseudo-operation allocates 3 bytes and stores the given number at that byte.) LC Symbol Table L1: START INST1 INST2 D1 JZR L1 HLT WORD 5 END Machine code 3A 00 00 D5 ?? ?? 7B ?? ?? 4C 00 00 00 00 05 D1
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started