Setbit - Intel i960 Jx Developer's Manual

Microprocessor
Table of Contents

Advertisement

6.2.59

setbit

Mnemonic:
setbit
Format:
setbit
Description:
Copies src value to dst with one bit set. bitpos specifies bit to be set.
Action:
dst = src | (2**(bitpos%32));
STANDARD
Faults:
Example:
setbit 15, r9, r1
Opcode:
setbit
See Also:
alterbit, chkbit, clrbit, notbit
INSTRUCTION SET REFERENCE
Set Bit
bitpos,
src,
reg/lit
reg/lit
Refer to
# r1
r9 with bit 15 set.
583H
REG
dst
reg
section 6.1.6, "Faults" (pg.
6-5).
6
6-99

Advertisement

Table of Contents
loading

Table of Contents