
30Mar98@15:00h
Semiconductor Group
68
Version 1.2, 12.97
C166 Family Instruction Set
Instruction Description
EXTR
Begin EXTended Register Sequence
EXTR
Syntax
EXTR op1
Operation
(count)
←
(op1) [1
≤
op1
≤
4]
Disable interrupts and Class A traps
SFR_range = Extended
DO WHILE ((count)
≠
0 AND Class_B_trap_condition
≠
TRUE)
Next Instruction
(count)
←
(count) - 1
END WHILE
(count) = 0
SFR_range = Standard
Enable interrupts and traps
Description
Causes all SFR or SFR bit accesses via the ’reg’, ’bitoff’ or ’bitaddr’
addressing modes being made to the Extended SFR space for a specified
number of instructions. During their execution, both standard and PEC
interrupts and class A hardware traps are locked.
The value of op1 defines the length of the effected instruction sequence.
Note
The EXTR instruction must be used carefully (see introductory note).
The EXTR instruction is not available in the SAB 8XC166(W) devices.
E Not affected.
Z Not affected.
V Not affected.
C Not affected.
N Not affected.
Addressing Modes
Mnemonic
Format
Bytes
EXTR
#irang2
D1 :10##-0
2
Condition Flags
E
Z
V
C
N
-
-
-
-
-