課程名稱︰微處理機及應用
課程性質︰選修
課程教師︰林巍聳
開課學院:電資學院
開課系所︰電機系
考試日期(年月日)︰
考試時限(分鐘):110
是否需發放獎勵金:是
(如未明確表示,則不予發放)
試題 :
Close book
Answer following question in either Chinese or English.
1.Generally, a microcomputer communicates system elements through bus. List
and illustrate at least four kinds(sets) of signals that flow on the bus.10%
2.Von Neumann architecture machine is significantly different from Havard
architecture machine. Draw a diagram to illustrator their difference. 10%
3.LDR r0,r[1] is a load instruction with register indirect addressing mode.
What is a register indirect addressing mode? 20%
4.Draw a block diagram to illustrate the programming model of ARM9. 20%
5. Show the status bits NCZV of ARM9 after executing the following instructions
20%
LDR r1 #0x1
LDR r0 #0x1
SUB r2,r0,r1
6.Assume that big-endian is used.(1) Write an ARM9 assembly program to
accomplish the calculation of the equation x=a+515 (i.e 515 is decimal).
(2) Fill the result of x in the corresponding addresses. 20%
location location
a= ╭───────╮ x= ╭───────╮
0x10000000 │ 0x01 │ 0x20000000 │ │
├───────┤ ├───────┤
a+1 │ 0x02 │ │ │
├───────┤ ├───────┤
a+2 │ 0x03 │ │ │
├───────┤ ├───────┤
a+3 │ 0x04 │ │ │
╰───────╯ ╰───────╯
Little endian
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.174.176