欢迎访问ic37.com |
会员登录 免费注册
发布采购

MG87FE/L2051 参数 Datasheet PDF下载

MG87FE/L2051图片预览
型号: MG87FE/L2051
PDF下载: 下载PDF文件 查看货源
内容描述: 8位microcontroll [8-bits microcontroll]
分类和应用:
文件页数/大小: 56 页 / 868 K
品牌: MEGAWIN [ MEGAWIN TECHNOLOGY CO., LTD ]
 浏览型号MG87FE/L2051的Datasheet PDF文件第5页浏览型号MG87FE/L2051的Datasheet PDF文件第6页浏览型号MG87FE/L2051的Datasheet PDF文件第7页浏览型号MG87FE/L2051的Datasheet PDF文件第8页浏览型号MG87FE/L2051的Datasheet PDF文件第10页浏览型号MG87FE/L2051的Datasheet PDF文件第11页浏览型号MG87FE/L2051的Datasheet PDF文件第12页浏览型号MG87FE/L2051的Datasheet PDF文件第13页  
MEGAWIN
MAKE YOU WIN
MG87FE/L2051/4051/6051
Preliminary Ver 1.00
5. 8051 CPU Function Description
5.1. CPU Register
PSW: Program Status Word
Address=D0H, read/write, Power On + RESET=0000-0000
7
6
5
4
3
CY
AC
F0
RS1
RS0
CY: Carry bit.
AC: Auxiliary carry bit.
F0: General purpose flag 0.
RS1: Register bank select bit 1.
RS0: Register bank select bit 0.
OV: Overflow flag.
F1: General purpose flag 1.
P: Parity bit.
The program status word(PSW) contains several status bits that reflect the current state of the CPU. The PSW,
shown above, resides in the SFR space. It contains the Carry bit, the Auxiliary Carry(for BCD operation), the two
register bank select bits, the Overflow flag, a Parity bit and two user-definable status flags.
The Carry bit, other than serving the function of a Carry bit in arithmetic operations, also serves as the
“Accumulator” for a number of Boolean operations.
The bits RS0 and RS1 are used to select one of the four register banks shown in the on-chip-data-RAM section.
A number of instructions refer to these RAM locations as R0 through R7.
The Parity bit reflects the number of 1s in the Accumulator. P=1 if the Accumulator contains an odd number of 1s
and otherwise P=0.
SP: Stack Pointer
Address=81H, read/write, Power On + RESET=0000-0111
7
6
5
4
3
SP[7]
SP[6]
SP[5]
SP[4]
SP[3]
DPL: Data Pointer Low
Address=82H, read/write, Power On + RESET=0000-0000
7
6
5
4
3
DPL[7]
DPL[6]
DPL[5]
DPL[4]
DPL[3]
DPH: Data Pointer High
Address=83H, read/write, Power On + RESET=0000-0000
7
6
5
4
3
DPH[7]
DPH[6]
DPH[5]
DPH[4]
DPH[3]
B: B Register
Address=F0H, read/write, Power On + RESET=0000-0000
7
6
5
4
3
B[7]
B[6]
B[5]
B[4]
B[3]
2
OV
1
F1
0
P
2
SP[2]
1
SP[1]
0
SP[0]
2
DPL[2]
1
DPL[1]
0
DPL[0]
2
DPH[2]
1
DPH[1]
0
DPH[0]
2
B[2]
1
B[1]
0
B[0]
This document information is the intellectual property of Megawin Technology.
©
Megawin Technology Co., Ltd. 2009 All rights reserved.
QP-7300-03D
9/56