作者lotuslin1222 (林菡瓜(* ̄▽ ̄)/)
看板NTUBIME102HW
标题[微机] 97考古
时间Sat Apr 21 22:51:54 2012
作者 jenny (活在自己的世界中) 看板 NTU-Exam
标题 [试题] 97下 卢彦文 微处理机原理与应用 期中考
时间 Sat May 23 19:49:41 2009
───────────────────────────────────────
课程名称︰微处理机原理与应用
课程性质︰必修
课程教师︰卢彦文
开课学院:生农
开课系所︰生机
考试日期(年月日)︰97/4/17
考试时限(分钟):80
是否需发放奖励金:是
(如未明确表示,则不予发放)
试题 :
problem 1(20%)
briefly explain the following terms:
id=odd id=even
carry bit parity bit
instruction MSB
BCD POP
Based-indexed addressing mode directives
problem 2(20%):
identify the addressing modes used for the source and the destination
operands, as well as the maching codes in the following instructions:
id=odd id=even
MOV AL,BL MOV AL,BL
MOV BX,0BEH MOV BX,0C3H
MOV [BX][DI]+0100H,AL MOV [BX][DI]+0300H,AL
problem 3(10%)
express each of the following signed decimal integers as a 16-bit binary
number (use 2's-complement notation for negative numbers)
+20 -20
-10 +10
problem 4(8%):
engineer Joe Smith worte assembly programs, which contain a Main module and
a subroutine module to display a hexdecimal number on screen. Although
prepared well, he found bugs in the programs. He used the 'debug' to find
out the following information:
AX=0000 BX=0000 CX=0010 DX=0000 SP=03FB BP=0000 SI=0000 DI=0000
DS=57D1 ES=57D1 SS=57E6 CS=57E1 IP=0013 NV UP EI PL NZ NA PO NC
can you help Engineer Joe Smith find
the current physical address to point to the data
/
the current physical address to point to the data in stack structure
problem 5(15%):
explain what happens when the instruction sequence that follows is executed
LAHF MOV AX,1234H
MOV [BX+DI],AH MOV BX,0ABCDH
MOV AH,[BX+SI] CMP AX,BX
SAHF assume that flags ZF,SF,CF,AF,OF,and PF
are all initially reset
note:(提供表格参考,就不打了)
problem 6(27%):
write an 8086/8088 assembly program that moves a block of N consecutive
bytes of data starting at offset address ADDR1 in memory to another block
of memory locations starting at offset address ADDR2. Assume that both blocks
are in the same data segment, whose starting point is defined by the values
DS_ADDR
hint:you may use the flow chart below for this program
(提供流程图,也不打了)
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.222.22
想问问谁还有其他几年考古QQ
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 114.24.92.102
1F:推 gsiplo:推推 04/26 21:28
2F:推 lldavuull:最後一题是写程式呢 gg 04/27 02:07
3F:推 lldavuull:Ceiba上有2010 2011年考古 然後还有作业程式范例 04/27 02:22