PROGRAMMING NUMERIC APPLICATIONS
Table 2·14.
Instruction
Set
Reference Data
FABS
FABS (no operands)
Exceptions:
I
Absolute value
Execution Clocks
Operands
Operand Word
Code
Coding
Example
Typical
Range
Transfers Bytes
(no operands)
14
10·17
0
2 FABS
FADD
FADD //source/destination,source
Exceptions:
I,
D,
0,
U,
P
Add real
Execution Clocks
Operands
Operand Word
Code
Coding
Example
Typical
Range
Transfers Bytes
//ST,ST(i)/ST(i),ST
85
70-100
0
2 FADD ST,ST(4)
short-real
105
90-120 2 2-4 FADD
AIR_TEMP [SI]
long-real
110 95-125 4 2-4 FADD [BX].MEAN
..
FADDP
FADDP destination, source
Exceptions:
I,
D,
0,
U,
P
Add real and pop
Execution
Clocks
Operands
Operand Word
Code
Coding
Example
Typical
Range
Transfers Bytes
ST(i),ST 90 75-105 0 2 FADDP ST(2),ST
FBLD
FBLD source
Exceptions:
I
Packed decimal
(BCD) load
Execution Clocks
Operands
Operand Word
Code
Coding
Example
Typical
Range
Transfers Bytes
packed-decimal
300
290-310 5
2-4 FBLD
YTD_SALES
FBSTP
FBSTP destination
Exceptions:
I
Packed decimal
(BCD) store and pop
Execution
Clocks
Operands
Operand Word Code
Coding
Example
Typical
Range
Transfers Bytes
packed-decimal
530
520-540
5
2-4
FBSTP [BX].FORECAST
2-24