Bitr Bit Reset - Samsung S3C80M4/F80M4 User Manual

8-bit cmos microcontrollers
Table of Contents

Advertisement

INSTRUCTION SET
BITR
— Bit Reset
BITR
dst.b
dst(b) ← 0
Operation:
The BITR instruction clears the specified bit within the destination without affecting any other bits
in the destination.
Flags:
No flags are affected.
Format:
opc
NOTE: In the second byte of the instruction format, the destination address is four bits, the bit address 'b'
Given: R1 = 07H:
Example:
BITR
If the value of working register R1 is 07H (00000111B), the statement "BITR R1.1" clears bit one
of the destination register R1, leaving the value 05H (00000101B).
6-20
dst | b | 0
is three bits, and the LSB address value is one bit in length.
R1.1
R1 = 05H
Bytes
Cycles
Opcode
(Hex)
2
4
S3C80M4/F80M4
Addr Mode
dst
77
rb

Advertisement

Table of Contents
loading

Table of Contents