
Data Sheet S10299EJ4V0DS00
45
μ
PD16434
9.4 Memory Bit Manipulation Commands
The following four different memory bit manipulation commands are available:
BRESET (Bit Reset)
BSET (Bit Set)
CLCURS (Clear Cursor)
WRCURS (Write Cursor)
The BRESET and BSET commands can be executed in any data processing mode. After the bit specified by the
BRESET/BSET command in the data memory addressed by the data pointer is set/reset, the data pointer is modified
according to the lower 2 bits (J
1
J
0
) of the command byte.
The CLCURS or WRCURS command is used to clear or set the cursor (bit 7 position) in the character mode. After
these commands are executed, the data pointer contents are added by 5 or subtracted by 5.
Data pointer manipulation by these memory bit manipulation commands is effective, only when these commands
are executed. Afterwards, the data pointer is modified according to the data processing mode that has been set.
However, the data pointer contents are modified by the memory bit manipulation command. Therefore, the
modified value will be used as the initial value for the subsequent modification operation. The figure below shows the
BRESET and BSET command bit specifications and modification contents for the data pointer.
B
2
B
1
B
0
0 0 1
1 1 1
0 0 0
7
0
Data memory
to
J
1
J
0
Data pointer contents for modification
0
0
+1
0
1
1
1
0
This setting is not allowed
1
1
No modification (The same address is maintained)