www.national.com
216
Revision 1.2
Instruction Set (
Continued
)
G
7.3
The instruction set for the GXLV processor core is sum-
marized in Table 7-27. The table uses several symbols
and abbreviations that are described next and listed in
Table 7-26.
PROCESSOR CORE INSTRUCTION SET
7.3.1
Opcodes are given as hex values except when they
appear within brackets as binary values.
Opcodes
7.3.2
The clock counts listed in the instruction set summary
table are grouped by operating mode (real and protected)
and whether there is a register/cache hit or a cache miss.
In some cases, more than one clock count is shown in a
column for a given instruction, or a variable is used in the
clock count.
Clock Counts
7.3.3
There are nine flags that are affected by the execution of
instructions. The flag names have been abbreviated and vari-
ous conventions used to indicate what effect the instruc-
tion has on the particular flag.
Flags
Table 7-26. Processor Core Instruction Set
Table Legend
Symbol or
Abbreviation
Description
Opcode
#
Immediate 8-bit data.
Immediate 16-bit data.
Full immediate 32-bit data (8, 16, 32 bits).
8-bit signed displacement.
Full signed displacement (16, 32 bits).
##
###
+
+++
Clock Count
/
n
L
|
Register operand/memory operand.
Number of times operation is repeated.
Level of the stack frame.
Conditional jump taken | Conditional jump not
taken. (e.g.
“
4|1
”
= 4 clocks if jump taken, 1
clock if jump not taken).
CPL
≤
IOPL \ CPL > IOPL
(where CPL = Current Privilege Level, IOPL =
I/O Privilege Level).
\
Flags
OF
DF
IF
TF
SF
ZF
AF
PF
CF
x
-
0
1
u
Overflow Flag.
Direction Flag.
Interrupt Enable Flag.
Trap Flag.
Sign Flag.
Zero Flag.
Auxiliary Flag.
Parity Flag.
Carry Flag.
Flag is modified by the instruction.
Flag is not changed by the instruction.
Flag is reset to
“
0
”
.
Flag is set to
“
1
”
.
Flag is undefined following execution the
instruction.