zic2410 California Eastern Laboratories, zic2410 Datasheet - Page 12

no-image

zic2410

Manufacturer Part Number
zic2410
Description
Single-chip Solution, Compliant With Zigbee
Manufacturer
California Eastern Laboratories
Datasheet
WCON (WRITE CONTROL REGISTER, 0xC0)
This register can control the upper 1KB of program memory.
FBANK (PROGRAM MEMORY BANK SELECTION REGISTER, 0xA1)
ACCUMULATOR (0xE0)
This register is marked as A or ACC and it is related to all the operations.
B REGISTER (0xF0)
This register is used for a special purpose when multiplication and division are processed. For other
instructions, it can be used as a general-purpose register. After multiplication is processed, this register
contains the MSB data and ‘A register’ contains LSB data for the multiplication result. In division
operation, this register stores the value before division (dividend) and the remainder after division. At this
time, before division, the divisor should be stored in ‘A register’ and result value (quotient) is stored in it
after division.
PROGRAM STATUS WORD (PSW, 0xD0)
This register stores the status of the program. The explanation for each bit is as follows.
STACK POINTER (0x81)
When PUSH and CALL commands are executed, some data (like the parameters by function call) are
stored in stack to inform the values. In the embedded MCU, the data memory area which can be used for
a general purpose (0x08~0x7F) is used as a stack area.
This register value is increased before the data is stored and the register value is decreased after the data
is read when the data of stack is disappeared by POP and RET command. The default value is 0x07.
7:3
7:1
7:0
7:0
4:3
7:0
Bit
2
1
0
0
7
6
5
2
1
0
Rev A
ISPMODE
ENROM
FBANK
Name
AC
OV
CY
RS
SP
F0
F1
A
B
P
Reserved
ISP Mode Indication: When MS [1:0], an external pin, is ‘3’, this
field is set to 1 by hardware. It notifies the MCU whether
ISPMODE or not.
When this field is ‘1’, the upper 1KB (0xFC00~0xFFFF) is
mapped to ROM. When this field is ‘0’, the upper 1KB
(0xFC00~0xFFFF) is mapped to non-volatile memory.
Reserved
Reserved
Program Memory Bank Select.
Accumulator
B register. Used in MUL/DIV instructions.
Carry flag
Auxiliary carry flag
Flag0. User-defined
Register bank select.
Overflow flag
Flag1. User-defined
Parity flag.
Set to 1 when the value in accumulator has odd number of ‘1’
bits.
Stack Pointer
0: Bank0 (Default)
1: Bank1
2: Not Used
3: Not Used
0: Bank0
1: Bank1
2: Bank2
3: Bank3
Table 3 – Special Function Registers
Document No. 0005-05-07-00-000
ZIC2410 Datasheet
Descriptions
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
RO
Page 12 of 119
Reset
Value
0x00
0x00
0x00
0x07
0
1
0
0
0
0
0
0
0
0
0
-

Related parts for zic2410