datasheetbank_Logo
数据手册搜索引擎和 Datasheet免费下载 PDF

W742E816 查看數據表(PDF) - Winbond

零件编号
产品描述 (功能)
比赛名单
W742E816
Winbond
Winbond Winbond
W742E816 Datasheet PDF : 58 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
W742E/C816
Deleted: SA5505
Deleted: W742C811
2. Working Register Addressing
Bit 7-0 7 6 5 4 3 2 1 0
RAM addr WP3 WP2 WP1 WP0 WA3 WA2 WA1 WA0
WA0-3 is Working register address ; WP0-3 is WR page register(WRP)
Example:
MOV
MOV
MOV
MOVA
3. Indirect Addressing
DBKRL, #BL_value
DBKRH, #BH_value
WRP, #I
WRn, RAM
; set RAM bank
; set WR page register
; mov RAM data to Working register and ACC
Bit 12-0 12 11 10 9 8 7 6 5 4 3 2 1 0
RAM addr BH1 BH0 BL3 BL2 BL1 BL0 DP2 DP1 DP0 (WA3 WA2 WA1 WA0)
(WA0-3) is Working register contents ; DP0-3 is RAM page register(PAGE)
BL0-3 is DBKRL register ; BH0-1 is DBKRH register
Example:
MOV
MOV
MOV
MOV
MOV
DBKRL, BL_value
DBKRH, BH_value
PAGE, #Ip
WRq, #In
WRn, @WRq
; set RAM bank
; set RAM page address, (0 07H)
; set WR pointer address; (0 0FH)
; get the contents of WRq pointing addr to WRn
5.5 Accumulator (ACC)
The accumulator (ACC) is a 4-bit register used to hold results from the ALU and transfer data between
the memory, I/O ports, and registers.
5.6 Arithmetic and Logic Unit (ALU)
This is a circuit which performs arithmetic and logic operations. The ALU provides the following
functions:
Logic operations: ANL, XRL, ORL
Branch decisions: JB0, JB1, JB2, JB3, JNZ, JZ, JC, JNC, DSKZ, DSKNZ, SKB0, SKB1, SKB2,
SKB3
Shift operations: SHRC, RRC, SHLC, RLC
Binary additions/subtractions: ADC, SBC, ADD, SUB, ADU, DEC, INC
After any of the above instructions is executed, the status of the carry flag (CF) and zero flag (ZF) is
stored in the internal registers. CF can be read out by executing MOV R, CF.
- 15 -
Publication Release Date: April 15, 2005
Revision A2

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]