Table of Contents

Advertisement

S3C84I8/F84I8/C84I9/F84I9
BITS
— Bit Set
dst.b
BITS
dst(b) ← 1
Operation:
The BITS instruction sets the specified bit within the destination without affecting any other bit in
the destination.
No flags are affected.
Flags:
Format:
opc
NOTE: In the second byte of the instruction format, the destination address is four bits, the bit
Given: R1 = 07H:
Example:
BITS
If the working register R1 contains the value 07H (00000111B), the statement "BITS R1.3" sets
bit three of the destination register R1 to "1", leaving the value 0FH (00001111B).
dst | b | 1
address "b" is three bits, and the LSB address value is one bit in length.
R1.3
Bytes
Cycles
2
R1 = 0FH
INSTRUCTION SET
Opcode
Addr Mode
(Hex)
4
77
dst
rb
6-21

Advertisement

Table of Contents
loading

This manual is also suitable for:

S3c84i9S3f84i8S3f84i9

Table of Contents