Mitsubishi Electronics C64 Home Safety Product User Manual


 
8. Function Commands
BRST, BRSTP
- 300 -
{ BRST, BRSTP ... Bit resetting of word device
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
D
{ { { { { { { {
{
n
{ {
2
BRST
Bit reset command
n
D
BRST
BRSTP
BRSTP
nD
Setting data
D
No. of device to
reset the bit.
Bit No. to be reset.
n
Function
(1) The bit n of the word device designated with D is reset to 0.
(2) The value 0 to 15 can be designated for n.
If n exceeds 15, the command is executed is executed with the low-order 4 bits data.
1 1
0 0
1
0
1 1
00
111
0
11D10
実行前
1 1 0 000 1 100111011D10
実行後
0になります。
K11
D10
BRSTP
b0b1b15 b11
b0b1b15 b11
1 1
0
0
0 0
1
1 0 0
1
1 1 0
1
1
b15
b11
b1b0
D10 before execution
b15
b1b0
1
1
0
0
1 0
1
1 0 0
1
1 1 0
1
1
BRSTP D10
K11
Becomes "0"
b11
BSETP
D10
K6
BRSTP D10 K11
D10 after execution