English
Language : 

AT75C Datasheet, PDF (111/171 Pages) ATMEL Corporation – Smart Internet Appliance Processor (SIAP)
AT75C DSP Subsystem
SET – Set Bit-field
Syntax:
set ##long immediate, operand
Operation:
operand or ##long immediate −> operand
Set a specific bit-field in a 16-bit operand according to a long immediate
value. The long immediate value contains ones in the bit-field locations.
The operand and the long immediate value are sign-extension sup-
pressed.
Operands:
REG
(rN)
direct adddress;
Affected Flags: When the operand is not st0:
Z
M
N
V
C
E
L
R
x
x
–
–
–
–
–
–
Cycles:
Words:
Notes:
When the operand is st0, the specified bits are set.
2
2
The REG cannot be aX, bX, p, pc.
If the operand is not a part of an accumulator, then the accumulators
are unaffected. If the operand is a part of an accumulator, then only the
addressed part is affected.
When setting the a0e bits (set ##long immediate, st0), the flags are set
according to the long immediate value. When resetting the a1e bits (set
##long immediate, st1), the flags are set according to the ALU output.
1368C–INTAP–08/02
111