Question: Problem 3 [30 Topic: Two-Pass Assembler With the given source code below, you are to perform a 2-pass assembler operation. You are required to create


Problem 3 [30 Topic: Two-Pass Assembler With the given source code below, you are to perform a 2-pass assembler operation. You are required to create the symbol table for all of the symbols and to replace the labels in the code with their correct values.. State in which pass the symbols value was updated. Assume that after you perform the first pass, your assembler finds that the location of remove is 288 and add is 364. NOTE: The address of the instruction/label fn memory runs along the left side of the instruc- tions. Empty lines do not count as space in memory. Directives are not instructions and thus do not affect the address. Fill out a table with the name of each symbol, in the order it would be detected during the first pass of the assembler, and their values as established by the end of the second pass. Problem 3 [30 Topic: Two-Pass Assembler With the given source code below, you are to perform a 2-pass assembler operation. You are required to create the symbol table for all of the symbols and to replace the labels in the code with their correct values.. State in which pass the symbols value was updated. Assume that after you perform the first pass, your assembler finds that the location of remove is 288 and add is 364. NOTE: The address of the instruction/label fn memory runs along the left side of the instruc- tions. Empty lines do not count as space in memory. Directives are not instructions and thus do not affect the address. Fill out a table with the name of each symbol, in the order it would be detected during the first pass of the assembler, and their values as established by the end of the second pass
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
