| Index | Manual | Download | Source | Macros | Embedded word Case ins.
Sitemap | Links | Forum | Tests | Projects

# Test t3580: Machine instructions FIADD, FIMUL, FICOM, FICOMP, FISUB, FISUBR, FIDIV, FIDIVR

Tested procedures
  IifFIADD IifFIMUL IifFICOM IifFICOMP IifFISUB IifFISUBR IifFIDIV IifFIDIVR

Source & expected listing t3580.htm.lst
  `| |EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=30, CPU=386, FPU=ON | |t3580 PROGRAM FORMAT=BIN, LISTMAP=OFF, LISTGLOBALS=OFF |[Mode32] |[Mode32] SEGMENT WIDTH=32,PURPOSE=CODE |00000000:DE05[E4000000] |FIADD [MemWord] |00000006:DE05[E4000000] |FIADD ST0,[MemWord] |0000000C:DA05[E0000000] |FIADD [MemDword] |00000012:DA05[E0000000] |FIADD ST0,[MemDword] |00000018:DE06 |FIADD [ESI],DATA=WORD |0000001A:DA06 |FIADD ST0,[ESI],DATA=DWORD |0000001C:DE0D[E4000000] |FIMUL [MemWord] |00000022:DE0D[E4000000] |FIMUL ST0,[MemWord] |00000028:DA0D[E0000000] |FIMUL [MemDword] |0000002E:DA0D[E0000000] |FIMUL ST0,[MemDword] |00000034:DE0E |FIMUL [ESI],DATA=WORD |00000036:DA0E |FIMUL ST0,[ESI],DATA=DWORD |00000038:DE15[E4000000] |FICOM [MemWord] |0000003E:DE15[E4000000] |FICOM ST0,[MemWord] |00000044:DA15[E0000000] |FICOM [MemDword] |0000004A:DA15[E0000000] |FICOM ST0,[MemDword] |00000050:DE16 |FICOM [ESI],DATA=WORD |00000052:DA16 |FICOM ST0,[ESI],DATA=DWORD |00000054:DE1D[E4000000] |FICOMP [MemWord] |0000005A:DE1D[E4000000] |FICOMP ST0,[MemWord] |00000060:DA1D[E0000000] |FICOMP [MemDword] |00000066:DA1D[E0000000] |FICOMP ST0,[MemDword] |0000006C:DE1E |FICOMP [ESI],DATA=WORD |0000006E:DA1E |FICOMP ST0,[ESI],DATA=DWORD |00000070:DE25[E4000000] |FISUB [MemWord] |00000076:DE25[E4000000] |FISUB ST0,[MemWord] |0000007C:DA25[E0000000] |FISUB [MemDword] |00000082:DA25[E0000000] |FISUB ST0,[MemDword] |00000088:DE26 |FISUB [ESI],DATA=WORD |0000008A:DA26 |FISUB ST0,[ESI],DATA=DWORD |0000008C:DE2D[E4000000] |FISUBR [MemWord] |00000092:DE2D[E4000000] |FISUBR ST0,[MemWord] |00000098:DA2D[E0000000] |FISUBR [MemDword] |0000009E:DA2D[E0000000] |FISUBR ST0,[MemDword] |000000A4:DE2E |FISUBR [ESI],DATA=WORD |000000A6:DA2E |FISUBR ST0,[ESI],DATA=DWORD |000000A8:DE35[E4000000] |FIDIV [MemWord] |000000AE:DE35[E4000000] |FIDIV ST0,[MemWord] |000000B4:DA35[E0000000] |FIDIV [MemDword] |000000BA:DA35[E0000000] |FIDIV ST0,[MemDword] |000000C0:DE36 |FIDIV [ESI],DATA=WORD |000000C2:DA36 |FIDIV ST0,[ESI],DATA=DWORD |000000C4:DE3D[E4000000] |FIDIVR [MemWord] |000000CA:DE3D[E4000000] |FIDIVR ST0,[MemWord] |000000D0:DA3D[E0000000] |FIDIVR [MemDword] |000000D6:DA3D[E0000000] |FIDIVR ST0,[MemDword] |000000DC:DE3E |FIDIVR [ESI],DATA=WORD |000000DE:DA3E |FIDIVR ST0,[ESI],DATA=DWORD |000000E0:00000000 |MemDword D D |000000E4:0000 |MemWord D W | |ENDPROGRAM t3580`

Expected messages t3580.out
  `I0180 Assembling source file "t3580.htm". I0270 Assembling source "t3580". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t3580". "t3580.htm"{70} I0510 Assembling program pass 1. "t3580.htm"{70} I0510 Assembling program pass 2. "t3580.htm"{70} I0510 Assembling program pass 3. "t3580.htm"{70} I0530 Assembling program pass 4 - final. "t3580.htm"{70} I0660 16bit TINY BIN file "t3580.bin" created, size=230. "t3580.htm"{122} I0650 Program "t3580" assembled in 4 passes with errorlevel 0. "t3580.htm"{122} I0750 Source "t3580" (142 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t3580.htm.lst" created, size=2870. I0990 EuroAssembler terminated with errorlevel 0.`

▲Back to the top▲