目录
bcpl B
无
1
B = ~B;
将比特B反转;
1 2 3 4 5 6 7 8
dseg bit X cseg bset X //X = 1 bcpl X //X = 0 bcpl X //X = 1 ...
bcpl R, p
R = R ^ (1 << p);
将寄存器R的P位反转;
1 2 3
set 0x91 //[0x91] = 0xff bcpl 0x91, 3 //[0x91] = 0xf7 bcpl 0x91, 3 //[0x91] = 0xff