Question: 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

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

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!