

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Class: Computer Organization; Subject: Computer Engineering; University: Wright State University-Main Campus; Term: Fall 2004;
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


The Symbol Table
a. What is the the value of VAR1 in the symbol table?
b. What is the value of ARRAY1 in the symbol table?
c. What is the value of COUNT in the symbol table?
d. What is the value of VAR2 in the symbol table?
e. What does the affected memory look like, starting at address $002000?
Fall, 2004 Homework: Assembler Directives and the Symbol Table - Solution updated 9-13-
Address Contents $002000 $0023 (VAR1) $002002_? (ARRAY1)_ $002004_? (ARRAY1)_ $002006_? (ARRAY1)_ $002008 $0000 (VAR2) $00200A $0014 (VAR2) $00200C XXXX (unused)
Homework: Assembler Directives and the Symbol Table
Consider the assembler directives on the previous page and your answers to the previous questions when answering the following questions. Assume that D1 was cleared before each instruction.
a. After the second pass of the assembler, what does the above instruction look like (in assembly code)?
b. What are the contents of D1 after the above instruction is executed?
a. After the second pass of the assembler, what does the above instruction look like (in assembly code)?
b. What are the contents of D1 after the above instruction is executed?
a. After the second pass of the assembler, what does the above instruction look like (in assembly code)?
b. What are the contents of D1 after the above instruction is executed?
a. After the second pass of the assembler, what does the above instruction look like (in assembly code)?
b. What are the contents of D1 after the above instruction is executed?
a. After the second pass of the assembler, what does the above instruction look like (in assembly code)?
b. What are the contents of D1 after the above instruction is executed?