User’s Manual
C166S V1 SubSystem
Detailed Instruction Set
User’s Manual
6-41
V 1.6, 2001-08
EXTPR
Begin EXTended Page and Register Sequence
EXTPR
Group
System Control Instructions
Syntax
EXTPR op1, op2
Source Operand(s)
op1
→
10-bit page number
op2
→
2-bit instruction counter
Destination Operand(s)
none
Operation
(count)
←
(op2) [1
≤
op2
≤
4]
Disable interrupts and Class A traps
Data_Page
←
(op1)
SFR_range
←
Extended
DO WHILE ((count)
≠
0 AND Class_B_Trap_Condition
≠
TRUE)
Next Instruction
(count)
←
(count) - 1
END WHILE
(count)
←
0
Data_Page
←
(DPPx)
SFR_range
←
Standard
Enable interrupts and traps
Description
Overrides the standard DPP addressing scheme of the long and indirect addressing
modes and 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. For any long (’mem’) or indirect ([...]) address in the EXTP
instruction sequence, the 10-bit page number (address bits A23-A14) is not determined
by the contents of a DPP register but by the value of op1 itself. The 14-bit page offset
(address bits A13-A0) is derived from the long or indirect address as usual. The value
of op2 defines the length of the effected instruction sequence.
CPU Flags
E
Not affected.
Z
Not affected.
V
Not affected.
E
Z
V
C
N
-
-
-
-
-
Содержание C166S V1 SubSystem
Страница 10: ...User s Manual C166S V1 SubSystem User s Manual I 6 V 1 6 2001 08...
Страница 16: ...User s Manual C166S V1 SubSystem Introduction User s Manual 1 6 V 1 6 2001 08...
Страница 126: ...User s Manual C166S V1 SubSystem Central Processing Unit User s Manual 3 96 V 1 6 2001 08...
Страница 178: ...User s Manual C166S V1 SubSystem Memory Organization User s Manual 4 52 V 1 6 2001 08...
Страница 206: ...User s Manual C166S V1 SubSystem Instruction Set User s Manual 5 28 V 1 6 2001 08...
Страница 306: ...User s Manual C166S V1 SubSystem Detailed Instruction Set User s Manual 6 100 V 1 6 2001 08...
Страница 362: ...User s Manual C166S V1 SubSystem The External Bus Interface User s Manual 8 40 V 1 6 2001 08...
Страница 452: ...User s Manual C166S V1 SubSystem General Purpose Timer Unit User s Manual 12 44 V 1 6 2001 08...
Страница 454: ...User s Manual C166S V1 SubSystem Instruction Index User s Manual 13 2 V 1 6 2001 08...
Страница 459: ......