Homework #2
- Goal: Implement the algorithm of Pass 1 in Figure 2.4(a).
- Input: SRCFILE
- Output: Print out the symbol table
- Format:
1000 | FIRST
|
100C | ALPHA
|
100F | FIVE
|
1012 | CHARZ
|
1013 | EOF2
|
1016 | C1
|
1017
|
- Deadline: 13:00 on Nov. 24th (Thursday)
- Email to TA: s94321517@ncnu.edu.tw
- Subject of email: [SP HW2] 92321036
Notes
- Only consider standard SIC instructions.
- Only consider six assembler directives: START, END, BYTE, WORD,
RESB, RESW.
- Sample testing file:
http://SP.ipv6.club.tw/SIC/test1.asm
- Compare your result with the one generated by SICASM.
- Language: free, but demonstration is required on STU.csie.ncnu.edu.tw.
- If you are not using C language, or if your program is separated in
more than 1 file, you need to provide a README file to tell TA how
to compile your program.