Test t3520:
Machine instructions FPREM FYL2XP1 FSQRT FSINCOS FRNDINT FSCALE FSIN FCOS
- Tested procedures
-
IifFPREM
IifFYL2XP1
IifFSQRT
IifFSINCOS
IifFRNDINT
IifFSCALE
IifFSIN
IifFCOS
- Source & expected listing
t3520.htm.lst
-
| |EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=24, CPU=386, FPU=ON
| |t3520 PROGRAM FORMAT=BIN, LISTMAP=OFF, LISTGLOBALS=OFF
|[Mode32] |[Mode32] SEGMENT WIDTH=32,PURPOSE=CODE
|00000000:D9F8 | FPREM
|00000002:D9F8 | FPREM ST0
|00000004:D9F9 | FYL2XP1
|00000006:D9F9 | FYL2XP1 ST0
|00000008:D9FA | FSQRT
|0000000A:D9FA | FSQRT ST0
|0000000C:D9FB | FSINCOS
|0000000E:D9FB | FSINCOS ST0
|00000010:D9FC | FRNDINT
|00000012:D9FC | FRNDINT ST0
|00000014:D9FD | FSCALE
|00000016:D9FD | FSCALE ST0
|00000018:D9FE | FSIN
|0000001A:D9FE | FSIN ST0
|0000001C:D9FF | FCOS
|0000001E:D9FF | FCOS ST0
| |ENDPROGRAM t3520
- Expected messages
t3520.out
I0180 Assembling source file "t3520.htm".
I0270 Assembling source "t3520".
I0310 Assembling source pass 1.
I0330 Assembling source pass 2 - final.
I0470 Assembling program "t3520". "t3520.htm"{70}
I0510 Assembling program pass 1. "t3520.htm"{70}
I0530 Assembling program pass 2 - final. "t3520.htm"{70}
I0660 16bit TINY BIN file "t3520.bin" created, size=32. "t3520.htm"{88}
I0650 Program "t3520" assembled in 2 passes with errorlevel 0. "t3520.htm"{88}
I0750 Source "t3520" (106 lines) assembled in 2 passes with errorlevel 0.
I0860 Listing file "t3520.htm.lst" created, size=822.
I0990 EuroAssembler terminated with errorlevel 0.
▲Back to the top▲