zlf645e0s2832g ZiLOG Semiconductor, zlf645e0s2832g Datasheet - Page 54

no-image

zlf645e0s2832g

Manufacturer Part Number
zlf645e0s2832g
Description
Crimzon Infrared Microcontrollers Zlf645 Series Flash Mcus With Learning Amplification
Manufacturer
ZiLOG Semiconductor
Datasheet
PS026407-0408
Note:
Example
For example, the following code uses linear addressing for the source of a register transfer
operation and uses a working register address for the target:
The LDE and LDEI instructions that existed in the Z8 CPU are no longer valid; they have
been replaced by the LDX and LDXI instructions.
SRP #%23
LD R0, #%55
SRP #%12
LD R6, #%03
LD R7, #%20
LD R0, @RR6
In the above code, the source register is referred through a linear address value contained
within registers R6 and R7, whereas the destination is referenced via the SRP setting and a
working register. For more information about instructions on the usage of LDX and LDXI
instructions, refer to Z8
;Set working register group 2 in bank 3
;Load 55 into working register R0 in the current
;group and bank (linear address 320h)
;Set working register group 1 in bank 2
;Load high byte of source linear address (0320h)
;Load low byte of source linear address (0320h)
;Load linear address 320h contents (55h) into
;working register R0 in the current group and
;bank (linear address 210h)
®
LXMC CPU Core User Manual (UM0215).
ZLF645 Series Flash MCUs
Product Specification
Register File
46

Related parts for zlf645e0s2832g