Download USER`S MANUAL
Transcript
S3F84UA/F84U8_UM_REV1.10 INSTRUCTION SET 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: opc dst | b | 1 Bytes Cycles Opcode (Hex) Addr Mode dst 2 4 77 rb NOTE: In the second byte of the 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 BITS R1.3 = 07H: → R1 = 0FH If working register R1 contains the value 07H (00000111B), the statement "BITS three of the destination register R1 to "1", leaving the value 0FH (00001111B). R1.3" sets bit 6-21