EasyManua.ls Logo

Samsung S3F84B8 - BITS - Bit Set

Samsung S3F84B8
322 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
S3F84B8_UM_REV 1.00 6 INSTRUCTION SET
6-20
6.3.8 BITS — BIT SET
BITS dst.b
Operation: dst(b) 1
The BITS instruction sets the specified bit within the destination without affecting any other bits in
the destination.
Flags: No flags are affected.
Format:
Bytes Cycles Opcode
(Hex)
Addr Mode
dst
opc dst | b | 1 2 4 77 rb
NOTE: In the second byte of instruction format, the destination address is four bits, the bit address ‘b’ is three bits,
and the LSB address value is one bit in length.
Example: Given R1 = 07H:
BITS R1.3 R1 = 0FH
If the value of working register R1 is 07H (00000111B), the statement “BITS R1.3” sets bit three
of the destination register R1 to “1”, leaving the value 0FH (00001111B).

Table of Contents

Other manuals for Samsung S3F84B8

Related product manuals