10_mid_term_closed - Microcomputer Systems and Lab Fall,...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Microcomputer Systems and Lab Fall, 2010 微算機系統與實驗 Microcomputer Systems and Lab Fall, 2010 微算機系統與實驗 Mid-term Exam (11/16) PART(I) CLOSED BOOK (50%) 1. fig1 8052 之記憶體對應圖,請根據此圖說明以下程式底線部分所使用到的 記憶體空間,以及簡述該行指令之作用流程 (18%) example: MOV 40H,41H Ans: 5 →○ 5 將○ 5 中位址為 41H 的暫存器其內部資料搬移至○ 5 中位址為 40H 的暫存器內。 a. MOV 40H,#40H (2%) MOV R0,#40H MOV A,@R0 (2%) b. MOV A,90H (2%) MOV R0,#90H MOV A,@R0 (2%) c. MOV DPTR,#2010 MOVX A,@DPTR (2%) Fig1.8052 memory map d. MOV R0, #90H MOVX A,@R0 (2%) e. MOV DPTR,#2010 MOV A,#01H MOVC A,@A+DPTR (2%) f. EA ̅ ̅ =0
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/11/2012 for the course ELECTRIC 101 taught by Professor Chen during the Spring '11 term at National Chiao Tung University.

Page1 / 2

10_mid_term_closed - Microcomputer Systems and Lab Fall,...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online