ST10 FAMILY PROGRAMMING MANUAL
75/172
EXTP
Begin EXTended Page Sequence
Syntax
EXTP
op1, op2
Operation
(count)
<-- (op2) [1
≤
op2
≤
4]
Disable interrupts and Class A traps
Data_Page = (op1)
DO WHILE ((count)
≠
0 AND Class_B_trap_condition
≠
TRUE)
Next Instruction
(count)
<-- (count) - 1
END WHILE
(count) = 0
Data_Page = (DPPx)
Enable interrupts and traps
Description
Overrides the standard DPP addressing scheme of the long and indirect addressing modes for a specified
number of instructions. During their execution, both standard and PEC interrupts and class A hardware
traps are locked. The EXTP instruction becomes immediately active such that no additional NOPs are
required.
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.
Note: The EXTP instruction must be used carefully (see Section 2.7 - ATOMIC and EXTended instruc-
tions on page 38).
Flags
Addressing Modes
E
Z
V
C
N
-
-
-
-
-
E
Not affected
Z
Not affected
V
Not affected
C
Not affected
N
Not affected
Mnemonic
Format
Bytes
EXTP
Rwm, #data
2
DC 01##:m
2
EXTP
#pag, #data
2
D7 01##:0 pp 0:00pp
4
Содержание ST10 Series
Страница 2: ......
Страница 4: ...ST10 FAMILY PROGRAMMING MANUAL 2 172...