PROGRAMMING NUMERIC APPLICATIONS
Table 2-14.
Instruction
Set Reference Data (Cont'd.)
FSTP
FSTP
destination
Exceptions:
1,0,
U,
P
Store real and pop
Execution Clocks
Operands
Operand Word
Code
Coding Example
Typical Range
Transfers Bytes
ST(i)
20
17-24
0
2
FSTP
ST(2)
short-real
89
86-92 2
2-4
FSTP
[BX].ADJUSTED_RPM
long-real
102
98-106
4
2-4
FSTP
TOTAL_DOSAGE
temp-real
55
52-58
5
2-4
FSTP
REG_SAVE [SI]
FSTSW/
FSTSW
destination
Exceptions: None
FNSTSW Store status word
Execution Clocks
Operands
Operand Word
Code
Coding Example
Typical
Range
Transfers Bytes
2-bytes
15
12-18 1 2-4
FSTSW SAVE_STATUS
FSTSW
AX/
FSTSW
AX
Exceptions: None
FNSTSWAX Store status word to
AX
Execution Clocks
Operands
Operand Word Code
Coding Example
Typical Range
Transfers
Bytes
AX
10-16 1 2
FSTSW
AX
FSUB
FSUB
/ /source/destination,source
Exceptions:
I,
D,
0,
U,
P
Subtract real
Execution Clocks
Operands
Operand Word
Code
Coding Example
Typical Range
Transfers
Bytes
/ /ST,ST(i)/ST(i),ST
85
70-100
0
2
FSUB ST,ST(2)
short-real
105 90-120 2 2-4
FSUB BASE_VALUE
long-real
110 95-125 4 2-4
FSUB
COORDINATE.X
FSUBP
FSUBP
destination, source
Exceptions:
I,
D,
0,
U,
P
Subtract real
and
pop
Execution Clocks
Operands
Operand Word
Code
Transfers
Bytes
Coding Example
Typical Range
ST(i),ST
90
75-105
0
2
FSUBP ST(2),ST
2-35