• 검색 결과가 없습니다.

8051 (MIDAS) Kit

N/A
N/A
Protected

Academic year: 2022

Share "8051 (MIDAS) Kit "

Copied!
2
0
0

로드 중.... (전체 텍스트 보기)

전체 글

(1)

- 45 -

8051 (MIDAS) Kit

1. Memory map

- 내부 Data Memory

주소 00~07 08~0F 10~17 18~1F 20~2F 30~7F 80~FF

영역

Reg.

Bank 0 R0~R7

Reg.

Bank 1 R0~R7

Reg.

Bank 2 R0~R7

Reg.

Bank 3 R0~R7

Bit Addr.

(00~7F) User Area (~52계열) S F R (PSW43)RS1,0=00~11:Bank0~3 128Bits

- SFR(Special Funcrion Register) + Memory mapped I/O

명 칭 이 름 ( 기 능 ) 주소 명 칭 이 름 ( 기 능 ) 주소

A Accumulator E0 SP Stack Pointer 81

B B Register F0 DPTR Data Pointer

PSW Program Status Word D0 DPH High byte 83

PORT I/O PORT0~3 DPL Low byte 82

P0 Port 0 80 T0H Timer/cnt 0 High byte 8C P1 Port 1 90 T0L Timer/cnt 0 Low byte 8A P2 Port 2 A0 T1H Timer/cnt 1 High byte 8D P3 Port 3 B0 T1L Timer/cnt 1 Low byte 8B TCON T i m e r / c o u n t e r

CONtrol 88 TMOD Timer MODe ctil. 89

SCON Serial CONtrol 98 SBUF Serial data BUFfer 99 IP Interrupt Priority ctrl. B8 ↑ 비트 어드레싱 불가

IE Interrupt Enable ctrl. A8 ← 비트 어드레싱 가능

~52 Series 포함 기능 T2CON Timer/counter2 CONtrol C8 T2H Timer/cnt 2 High byte CD RCAP2H T/C2 CAPture reg. High CB T2L Timer/cnt 2 Low byte CC RCAP2L T/C2 CAPture reg. Low CA

2. 8051 Kit 사용법 (1) 기능

- 외부 및 내부 데이터 메모리의 프로그램 및 데이터 검사, 수정

- SFR(Special Function Register : 특수 기능 레지스터) 내의 연산용 레지스터를 검사 - 프로그램 전체를 한번에 실행

- 프로그램을 1명령씩 실행, 프로그램 실행 후 제어를 모니터 프로그램에 넘김 (2) Key 사용법

RES ←Reset

T0 STP C D E F

Function→ INT GO 8 9 A B ←16진

+ DA 4 5 6 7

- AD 0 1 2 3

- RES RESet : 시스템 리셋(reset)

- STP STeP : 프로그램의 명령어를 하나씩 실행

(2)

- 46 -

- GO GO : 프로그램 전체를 실행, 모니터 기능 가동 - DA DAta : 내부 및 외부 데이터 메모리에 데이터 입력 - AD ADdress : 외부, 내부 데이터 메모리 주소를 세트 - T0 Timmer0 : 타이머 인터럽트

- INT INTerrupt : 외부 인터럽트

- + : 내부 및 외부 데이터 메모리 주소를 1 증가 - - : 내부 및 외부 데이터 메모리 주소를 1 감소 (3) 조작법

- 전원을 ON하면 LCD에 다음과 같이 표시한다.

MDA-WIN8051 MIDAS 335-0964/5 - RES 키를 다음과 같이 표시한다.

8051> input ? _

- 프로그램 입력

2000 74 19 MOV A,#19H

2002 24 18 ADD A,#18H

2004 D4 DA A /* 십진 보정 (+06)

2005 02 00 13 JMP 13H /* 시스템 복귀

+ AD 2000 키를 누르면 다음과 같이 표시한다.

Addr. Data 2000_ 97

Addr. Data 2001 19_

16진 키에서 주소 입력ä ã데이터 메모리 내용

+ DA 74 + 19 + 24 + 18 + D4 + 02 + 00 + 13 + AD 2000을 입력 주소를 2000에 맞추고,

+ GO 키를 눌러 실행한다/

A=37 B=00 PSW=41 SP=4E DPTR=0000_

참조

관련 문서

This study investigates relationship between macroeconomic variables and stock returns using ARMA-GARCH model. Also the stability of serial data and the

VC++을 실행하고 나서 File ÆNewÆProjects탭에서 MFC AppWizard[exe]탭을 선택하고, 옆의 에디터창에 Project name.과 위치를 선정한다.. 그리고

Now, with Cisco IP Communications, operations and security personnel can quickly and securely access voice, video, or data from any connected or wireless Cisco IP phone, in

The purpose of this research is to present the serial slice images and segmented images of the human brainstem to make the three-dimensional (3D) images, which are helpful

We explored whether baseline indexed epicardial fat volume (EFVi) and serial changes in EFVi were associated with increase in coronary plaque volume as assessed

Serial excision enables wound closure to be accomplished with a shorter scar than if the original lesion was elliptically excised in a single stage and reorientation of

Keywords : Serial affinity column set (SACS), Lectin, Depletion, Abundant protein removal, Protein-protein interactions

In order to achieve microfluid management, this study presents the optimal fuzzy sliding-mode control (OFSMC) design based on the 8051 microprocessor and the