10_mid_term_open - Microcomputer Systems and Lab Fall, 2010...

Info iconThis preview shows page 1. 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(II) OPEN BOOK (50%) 1. 請將以下程式組譯成機械碼(10%)。 ORG 00H AJMP MAIN ORG 50H MAIN: MOV A,#80H LOOP: MOV P1,A RR A AJMP LOOP END ORG 80H DB 30H,31H 2. 請利用 8051 、彈跳開關、 LED 單板設計一個跑馬燈系統,此系統必須滿足以 下功能以及條件: I. P1.0 作為彈跳開關輸入, P2 作為 LED 輸出。 II. 跑馬燈的顯示方式總共有 5 種,程式第一次啟動時就會直接顯示第一種跑馬
Background image of page 1
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.

Ask a homework question - tutors are online