Homework #4
- Goal: Modify your program of hw#3 and implement it as a Single-Pass
assembler.
- The format of the object file must conform with the one shown
in Figure 2.20.
- Due: 1PM, December 8th.
- Q: 在做 single pass 的時候,無法事先知道程式的總長度.
那 H record 要怎麼產生呢?(s2321016@ncnu.edu.tw)
A: 先填入 000000. SIC simulator 還是可以執行.
Beck (作者) 承認這不是個好做法, 下個版本的課本這邊的說明會改進.