作者overflow2 (ξεχυλιζω)
看板NTU-Exam
标题[试题] 95下 微处理机及应用 林巍耸 其中考
时间Wed Apr 16 18:23:43 2008
课程名称︰微处理机及应用
课程性质︰选修
课程教师︰林巍耸
开课学院:电资学院
开课系所︰电机系
考试日期(年月日)︰
考试时限(分钟):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