國立暨南國際大學 94 學年度第一學期第四次小考試卷

 
科目名稱:系統程式 開課系所:資訊工程 學系 任課教師
吳坤熹
系所別:
年級:
學號:
姓名:
考試日期
2005.12.16

(考試時間: 09:10-09:30AM)



QUIZ4
START      0
CHARZ
BYTE
C'Z'
C1
RESB
1
FIRST
LDCH
CHARZ

STCH
C1

END
FIRST

(1) When the above SIC program is assembled, the relocatable object program is generated as below.  What should be the contents in the blank field?
  1. 000000
  2. 000002
  3. 000003
  4. 000006
        
HQUIZ4 000000000008
T000000015A
T00000206500000540001
M 04+QUIZ4
M00000604+QUIZ4
E000002
(2) Assemble the same source program and generate the object program with relocation bit, as below.  What should be the value in the blank field?
  1. 000
  2. 003
  3. FFC
  4. C00
HQUIZ4 000000000008
T000000000015A
T000002   06500000540001
E000002
(3) When the above object file is loaded into the computer memory, how many bytes does it occupy?
  1. 8
  2. 68
  3. 88
  4. 94