PROGRAMMING NUMERIC APPLICATIONS

 

Table 2-14. Instruction Set Reference Data (Cont'd.)

FSUBR

FSUBR //source/destination, source

Exceptions: I, D, 0, U, P

 

Subtract real reversed

 

 

 

 

 

 

Execution Clocks

Operand Word

Code

 

Operands

 

 

Coding Example

Typical

Range

Transfers

Bytes

 

 

 

 

 

 

//ST,ST(i)/ST(i),ST

87

70-100

0

2

FSUBR ST,ST(1)

short-real

105

90-120

2

2-4

FSUBR VECTOR[SI]

long-real

110

95-125

4

2-4

FSUBR [BX].INDEX

FSUBRP

Operands

ST(i),ST

FTST

Operands

(no operands)

FWAIT

Operands

(no operands)

FXAM

Operands

(no operands)

FSUBRP destination, source

Exceptions: I, D, 0, U, P

Subtract real reversed and pop

 

 

Execution Clocks

Operand Word

Code

 

 

 

Coding Example

Typical

Range

Transfers

Bytes

 

 

 

 

90

75-105

0

2

FSUBRP ST(1),ST

FTST (no operands)

 

Exceptions: I, D

Test stack top against +0.0

 

 

Execution Clocks

Operand Word

Code

 

 

 

Coding Example

Typical

Range

Transfers

Bytes

 

 

 

 

42

38-48

0

2

FTST

FWAIT (no operands)

 

Exceptions: None (CPU instruction)

(CPU) Wait while 80287 is busy

 

 

Execution Clocks

Operand Word

Coda

 

 

 

Coding Example

Typical

Range

Transfers

Bytes

 

 

 

 

3+5n*

3+5n4

0

1

FWAIT

FXAM (no operands)

 

Exceptions: None

Examine stack top

 

 

 

 

Execution Clocks

Operand Word

Code

 

 

 

Coding Example

Typical

Range

Transfers

Bytes

 

 

 

 

17

12-23

0

2

FXAM

2-36

Page 428
Image 428
Intel 80287, 80286 manual Fsubr ST,ST1, Fsubr Vectorsi, Fsubr BX.INDEX, Fsubrp ST1,ST