W742E/C816
Deleted: SA5505
Deleted: W742C811
The 1st and 2nd data bank (00H to 7FH & 80H to 0FFH) in the data memory can also be used as the
working registers (WR). It is also divided into sixteen pages. Each page contains 16 working registers.
When one page is used as Working Register, the others can be used as the normal data memory. The
WR page register can be switched by executing the MOV WRP, R or MOV WRP, #I instructions. The
data memory can not do the logical operation directly with the immediate data, it has to via the
Working Register.
5.4.2 RAM Page Register (PAGE)
The page register is organized as a 4-bit binary register. The bit descriptions are as follows:
3
2
1
0
PAGE
R/W R/W R/W
Note: R/W means read/write available.
Bit 3 is reserved.
Bit 2, Bit 1, Bit 0 RAM page bits:
000 = Page 0 (00H − 0FH)
001 = Page 1 (10H − 1FH)
010 = Page 2 (20H − 2FH)
011 = Page 3 (30H − 3FH)
100 = Page 4 (40H − 4FH)
101 = Page 5 (50H − 5FH)
110 = Page 6 (60H − 6FH)
111 = Page 7 (70H − 7FH)
5.4.3 WR Page Register (WRP)
The WR page register is organized as a 4-bit binary register. The bit descriptions are as follows:
3
2
1
0
WRP R/W R/W R/W R/W
Note: R/W means read/write available.
Bit 3, Bit 2, Bit 1, Bit 0 Working registers page bits:
0000 = WR Page 0 (00H − 0FH)
0001 = WR Page 1 (10H − 1FH)
0010 = WR Page 2 (20H − 2FH)
0011 = WR Page 3 (30H − 3FH)
0100 = WR Page 4 (40H − 4FH)
0101 = WR Page 5 (50H − 5FH)
0110 = WR Page 6 (60H − 6FH)
0111 = WR Page 7 (70H − 7FH)
1000 = WR Page 8 (80H − 8FH)
- 12 -