ZLF645 MAXIM [Maxim Integrated Products], ZLF645 Datasheet - Page 53

no-image

ZLF645

Manufacturer Part Number
ZLF645
Description
Flash MCUs with Learning Amplification
Manufacturer
MAXIM [Maxim Integrated Products]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ZLF645E0H2064G
Manufacturer:
Maxim
Quantity:
419
Part Number:
ZLF645E0H2864G
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
ZLF645E0H4864G
Manufacturer:
Maxim
Quantity:
468
Part Number:
ZLF645E0P2064G
Manufacturer:
Maxim
Quantity:
490
Part Number:
ZLF645E0P2864G
Manufacturer:
Maxim
Quantity:
420
Part Number:
ZLF645E0Q2064G
Manufacturer:
Maxim
Quantity:
28
Part Number:
ZLF645EDH2864G
Manufacturer:
HOLTEK/合泰
Quantity:
20 000
Part Number:
ZLF645EOH2864G
Manufacturer:
ZILOG
Quantity:
20 000
Part Number:
ZLF645EOS2864G
Manufacturer:
ZILOG
Quantity:
20 000
PS026408-1208
Register Pointer Example
Linear Memory Addressing
R253 RP = 00h
R0 = Port 0
R1 = Port 1
R2 = Port 2
R3 = Port 3
R4 = Port 4
But if:
R253 RP = 0Dh
R0 = CTR0
R1 = CTR1
R2 = CTR2
R3 = CTR3
R4 = TC8L
The counter/timers are mapped into ERF Group D. Access is easily performed using the
following code segment:
LD RP, #0Dh
LD R0,#xx
LD 1, #xx
LD R1, 2
LD RP, #7Dh
LD 71h, 2
LD R1, 2
In addition to using the RP register to designate a bank and working register group for
8-bit or 4-bit addressing, programs can use 12-bit linear addressing to load a register in
any other bank to or from a register in the current bank. Linear addressing is implemented
through the LDX and LDXI instructions only. Linear addressing treats the register file as
if all the registers are logically ordered end-to-end, as opposed to being grouped into
banks and working register groups, as displayed in
addressing, register file addresses are numbered sequentially from Bank 0, register 00h to
Bank 0, register FFh, then continuing with Bank 1, register 00h, and so on up to Bank F,
register FFh.
Using the LDX and/or the LDXI instructions, either the target or destination register
location can be addressed through a 12-bit linear address value stored in a general-purpose
register pair.
; Select ERF D for access to Bank D
; (working register group 0)
; load CTR0
; load CTR1
; CTR2 CTR1
; Select Expanded Register Bank D and working
; register group 7 of Bank 0 for access.
; CTR2 register 71h
; CTR2 register 71h
Figure 15
ZLF645 Series Flash MCUs
Product Specification
on page 47. For linear
Register File
45

Related parts for ZLF645