[微機] 97考古
看板NTUBIME102HW作者lotuslin1222 (林菡瓜(* ̄▽ ̄)/)時間13年前 (2012/04/21 22:51)推噓3(3推 0噓 0→)留言3則, 2人參與討論串1/2 (看更多)
作者 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
推
04/26 21:28, , 1F
04/26 21:28, 1F
推
04/27 02:07, , 2F
04/27 02:07, 2F
推
04/27 02:22, , 3F
04/27 02:22, 3F
討論串 (同標題文章)