Bitr — Bit Reset - Samsung S3F84B8 User Manual

8-bit cmos
Hide thumbs Also See for S3F84B8:
Table of Contents

Advertisement

S3F84B8_UM_REV 1.00
6.3.7 BITR — BIT RESET
dst.b
BITR
dst(b)  0
Operation:
The BITR instruction clears the specified bit within the destination without affecting any other bits
in the destination.
No flags are affected.
Flags:
Format:
opc
In the second byte of instruction format, the destination address is four bits, the bit address 'b' is three bits,
NOTE:
and the LSB address value is one bit in length.
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).
dst | b | 0
R1.1
R1 = 05H
Bytes
Cycles
2
6-19
6 INSTRUCTION SET
Opcode
Addr Mode
(Hex)
4
77
dst
rb

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents