Compaq ECQD2KCTE manual VAX Floating-Point Instructions, Programming Note

Models: ECQD2KCTE

1 371
Download 371 pages 20.35 Kb
Page 309
Image 309

Table C–3: IEEE Floating-Point Instruction Function Codes (Continued)

 

None

/C

/V

/VC

/SV

/SVC

/SVI

/SVIC

CVTTQ

0AF

02F

1AF

12F

5AF

52F

7AF

72F

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

/D

/VD

/SVD

/SVID

/M

/VM

/SVM

/SVIM

 

 

 

 

 

 

 

 

 

CVTTQ

0EF

1EF

5EF

7EF

06F

16F

56F

76F

Programming Note:

To use CMPTxx with software completion trap handling, specify the /SU IEEE trap mode, even though an underflow trap is not possible. To use CVTQS or CVTQT with software completion trap handling, specify the /SUI IEEE trap mode, even though an underflow trap is not possible.

C.3 VAX Floating-Point Instructions

Table C–4lists the hexadecimal value of the 11-bit function code field for the VAX float- ing-point instructions. The opcode for the following instructions is 1516, except for SQRTF and SQRTG, which are opcode 1416.

Table C–4: VAX Floating-Point Instruction Function Codes

 

None

/C

/U

/UC

/S

/SC

/SU

/SUC

ADDF

080

000

180

100

480

400

580

500

CVTDG

09E

01E

19E

11E

49E

41E

59E

51E

ADDG

0A0

020

1A0

120

4A0

420

5A0

520

CMPGEQ

0A5

 

 

 

4A5

 

 

 

CMPGLE

0A7

 

 

 

4A6

 

 

 

CMPGLT

0A6

 

 

 

4A7

 

 

 

CVTGD

0AD

02D

1AD

12D

4AD

42D

5AD

52D

CVTGF

0AC

02C

1AC

12C

4AC

42C

5AC

52C

CVTQF

0BC

03C

 

 

 

 

 

 

CVTQG

0BE

03E

 

 

 

 

 

 

CVTGQ

See below

 

 

 

 

 

 

 

DIVF

083

003

183

103

483

403

583

503

DIVG

0A3

023

1A3

123

4A3

423

5A3

523

MULF

082

002

182

102

482

402

582

502

MULG

0A2

022

1A2

122

4A2

422

5A2

522

SQRTF

08A

00A

18A

10A

48A

40A

58A

50A

SQRTG

0AA

02A

1AA

12A

4AA

42A

5AA

52A

SUBF

081

001

181

101

481

401

581

501

SUBG

0A1

021

1A1

121

4A1

421

5A1

521

 

None

/C

/V

/VC

/S

/SC

/SV

/SVC

CVTGQ

0AF

02F

1AF

12F

4AF

42F

5AF

52F

Instruction Summary C–7

Page 309
Image 309
Compaq ECQD2KCTE manual VAX Floating-Point Instructions, Programming Note