EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t3163: Machine instruction CALL CALLN CALLF in 64bit mode


Tested procedures
IigCALL   IigCALLN   IigCALLF  
Source & expected listing t3163.htm.lst
| | EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=32,AUTOALIGN=OFF,CPU=X64 | |t3163 PROGRAM FORMAT=BIN,IMAGEBASE=0, LISTMAP=OFF, LISTGLOBALS=OFF |[Mode64] |[Mode64] SEGMENT WIDTH=64,PURPOSE=CODE | |;; Direct call to an immediate address: |00000000:E8FBFFFFFF | CALL $ |00000005:E8FBFFFFFF | CALL $,DATA=QWORD,IMM=DWORD,DIST=NEAR |0000000A:E8FEFFFF7F | CALL $-2_147_483_645 |0000000F:E8FFFFFF7F | CALL $-2_147_483_644 |00000014:E800000080 | CALL $-2_147_483_643 |00000019:E801000080 | CALL $-2_147_483_642 |0000001E:E8FEFFFF7F | CALL $+2_147_483_651 |00000023:E8FFFFFF7F | CALL $+2_147_483_652 |00000028:E800000080 | CALL $+2_147_483_653 |0000002D:E801000080 | CALL $+2_147_483_654 |00000032:E8(22110000) | CALL 0x1122 |00000037:E8(33221100) | CALL 0x112233 |0000003C:E89D000000 | CALL NearProc |00000041:E898000000 | CALLN NearProc |00000046:E893000000 | CALL NearProc,DATA=QWORD |0000004B:E88E000000 | CALL NearProc,IMM=DWORD | |;; Indirect near call: |00000050:FFD2 | CALL RDX |00000052:41FFD1 | CALL R9 |00000055:FF1565000000 | CALL [MemQwordNear] |0000005B:FF1571000000 | CALL [MemWordNear],DATA=QWORD |00000061:FF1559000000 | CALL [MemQwordNear],ADDR=REL |00000067:FF1425[C0000000] | CALL [MemQwordNear],ADDR=ABS |0000006E:FF16 | CALL [RSI] |00000070:FF16 | CALL [RSI],DATA=QWORD | |;; Direct far call: not supported in 64bit mode. | |;; Indirect far call: |00000072:48FF1E | CALLF [RSI] |00000075:48FF1E | CALL [RSI],DIST=FAR |00000078:48FF1E | CALLF [RSI],DATA=QWORD |0000007B:FF1E | CALLF [RSI],DATA=DWORD |0000007D:66FF1E | CALLF [RSI],DATA=WORD |00000080:48FF1D41000000 | CALLF [MemQwordFar] |00000087:FF1D47000000 | CALLF [MemDwordFar] |0000008D:66FF1D46000000 | CALLF [MemWordFar] |00000094:48FF1C25[C8000000] | CALLF [MemQwordFar],ADDR=ABS |0000009C:FF1C25[D4000000] | CALLF [MemDwordFar],ADDR=ABS |000000A3:66FF1C25[DA000000] | CALLF [MemWordFar],ADDR=ABS |000000AB:66FF1D28000000 | CALL [MemWordFar],DIST=FAR |000000B2:FF1D22000000 | CALLF [MemWordFar],DATA=DWORD |000000B8:48FF1D1B000000 | CALLF [MemWordFar],DATA=QWORD |000000BF:90 | ALIGN QWORD |000000C0:0000000000000000 |MemQwordNear DQ Q |000000C8:00000000000000000000 |MemQwordFar DQ Q,W |000000D2:0000 |MemWordNear DW W |000000D4:000000000000 |MemDwordFar DD D,W |000000DA:00000000 |MemWordFar DW W,W |000000DE: |NearProc PROC |000000DE:C3 | RETN |000000DF: | ENDP NearProc | |ENDPROGRAM t3163
Expected messages t3163.out
I0180 Assembling source file "t3163.htm". I0270 Assembling source "t3163". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t3163". "t3163.htm"{55} I0510 Assembling program pass 1. "t3163.htm"{55} I0510 Assembling program pass 2. "t3163.htm"{55} I0510 Assembling program pass 3. "t3163.htm"{55} I0530 Assembling program pass 4 - final. "t3163.htm"{55} I0660 16bit TINY BIN file "t3163.bin" created, size=223. "t3163.htm"{108} I0650 Program "t3163" assembled in 4 passes with errorlevel 0. "t3163.htm"{108} I0750 Source "t3163" (146 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t3163.htm.lst" created, size=3174. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t3163. bin
0000: E8 FB FF FF FF E8 FB FF FF FF E8 FE FF FF 7F E8  ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
0010: FF FF FF 7F E8 00 00 00 80 E8 01 00 00 80 E8 FE  ¤¤¤¤¤°°°¤¤·°°¤¤¤
0020: FF FF 7F E8 FF FF FF 7F E8 00 00 00 80 E8 01 00  ¤¤¤¤¤¤¤¤¤°°°¤¤·°
0030: 00 80 E8 EB 10 00 00 E8 F7 21 11 00 E8 9D 00 00  °¤¤¤·°°¤¤!·°¤¤°°
0040: 00 E8 98 00 00 00 E8 93 00 00 00 E8 8E 00 00 00  °¤¤°°°¤¤°°°¤¤°°°
0050: FF D2 41 FF D1 FF 15 65 00 00 00 FF 15 71 00 00  ¤¤A¤¤¤·e°°°¤·q°°
0060: 00 FF 15 59 00 00 00 FF 14 25 C0 00 00 00 FF 16  °¤·Y°°°¤·%¤°°°¤·
0070: FF 16 48 FF 1E 48 FF 1E 48 FF 1E FF 1E 66 FF 1E  ¤·H¤·H¤·H¤·¤·f¤·
0080: 48 FF 1D 41 00 00 00 FF 1D 47 00 00 00 66 FF 1D  H¤·A°°°¤·G°°°f¤·
0090: 46 00 00 00 48 FF 1C 25 C8 00 00 00 FF 1C 25 D4  F°°°H¤·%¤°°°¤·%¤
00A0: 00 00 00 66 FF 1C 25 DA 00 00 00 66 FF 1D 28 00  °°°f¤·%¤°°°f¤·(°
00B0: 00 00 FF 1D 22 00 00 00 48 FF 1D 1B 00 00 00 90  °°¤·"°°°H¤··°°°¤
00C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  °°°°°°°°°°°°°°°°
00D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C3     °°°°°°°°°°°°°°¤

▲Back to the top▲