EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t3018: 64bit addressing mode combinations in COFF format


See also
t3016   t3019  
Tested procedures
IiFlush   PseudoGROUP  
Source & expected listing t3018.htm.lst
| | EUROASM DUMPALL=YES, DUMPWIDTH=40, CPU=X64 | |t3018 PROGRAM FORMAT=COFF, MODEL=FLAT, WIDTH=64, ICONFILE=, \ | | FILEALIGN=16, SECTIONALIGN=4K, IMAGEBASE=4M, \ | | LISTMAP=YES, LISTGLOBALS=YES |[.text] |[.text] SEGMENT PURPOSE=CODE, ALIGN=16 |00000000:90 | NOP |00000001:6748A1[08000000] |Main:: MOV RAX,[Qword] |00000008:6748A1[08000000] | MOV RAX,[Qword],ADDR=ABS |0000000F:48B8[0300000000000000] | MOV RAX,FarProc |00000019:6748A3[08000000] | MOV [Qword],RAX |00000020:488D05(03000000) | LEA RAX,[FarProc] |00000027:488D05(03000000) | LEA RAX,[FarProc],ADDR=REL |0000002E:488D0425[03000000] | LEA RAX,[FarProc],ADDR=ABS |00000036:48C705(08000000)CCBBAA99 | MOV [Qword],99AABBCCh |00000041:48C705(08000000)CCBBAA99 | MOV [Qword],99AABBCCh,ADDR=REL |0000004C:48C70425[08000000]CCBBAA99 | MOV [Qword],99AABBCCh,ADDR=ABS |00000058:48C705(08000000)[03000000] | MOV [Qword],FarProc |00000063:48C705(08000000)[03000000] | MOV [Qword],FarProc,ADDR=REL |0000006E:48C70425[08000000][03000000] | MOV [Qword],FarProc,ADDR=ABS |0000007A:E80A000000 | CALL NearProc |0000007F:E8(03000000) | CALL FarProc |00000084:E8(00000000) | CALL ExitProcess |00000089: |NearProc:PROC |00000089:90 | NOP |0000008A:90 | NOP |0000008B:C3 | RET |0000008C: | ENDP NearProc: |[.text2] |[.text2] SEGMENT PURPOSE=CODE, ALIGN=16 |00000000:90 | NOP |00000001:90 | NOP |00000002:90 | NOP |00000003: |FarProc:PROC |00000003:90 | NOP |00000004:C3 | RET |00000005: | ENDP FarProc: | |[.text] GROUP [.text],[.text2] | |ExitProcess:: IMPORT LIB=kernel32.dll |[.data] |[.data] SEGMENT PURPOSE=DATA, ALIGN=16 |00000000:8888888888888888 | DB 8*BYTE 0x88 |00000008:8877665544332211 |Qword: DQ 1122334455667788h | | %DISPLAY RELOC |# D1550 **** %DISPLAY Relocations |# D1570 at=[.text]:00000004h,width=32,obj=00000008h,add=00000000h,type=abs,tg=.data,[.data]:00000000h |# D1570 at=[.text]:0000000Bh,width=32,obj=00000008h,add=00000000h,type=abs,tg=.data,[.data]:00000000h |# D1580 at=[.text]:00000011h,width=64,obj=00000003h,add=00000000h,type=abs,tg=.text2,[.text2]:00000000h |# D1570 at=[.text]:0000001Ch,width=32,obj=00000008h,add=00000000h,type=abs,tg=.data,[.data]:00000000h |# D1570 at=[.text]:00000023h,width=32,obj=00000003h,add=FFFFFFFCh,type=rel,tg=.text2,[.text2]:00000000h |# D1570 at=[.text]:0000002Ah,width=32,obj=00000003h,add=FFFFFFFCh,type=rel,tg=.text2,[.text2]:00000000h |# D1570 at=[.text]:00000032h,width=32,obj=00000003h,add=00000000h,type=abs,tg=.text2,[.text2]:00000000h |# D1570 at=[.text]:00000039h,width=32,obj=00000008h,add=FFFFFFF8h,type=rel,tg=.data,[.data]:00000000h |# D1570 at=[.text]:00000044h,width=32,obj=00000008h,add=FFFFFFF8h,type=rel,tg=.data,[.data]:00000000h |# D1570 at=[.text]:00000050h,width=32,obj=00000008h,add=00000000h,type=abs,tg=.data,[.data]:00000000h |# D1570 at=[.text]:0000005Bh,width=32,obj=00000008h,add=FFFFFFF8h,type=rel,tg=.data,[.data]:00000000h |# D1570 at=[.text]:0000005Fh,width=32,obj=00000003h,add=00000000h,type=abs,tg=.text2,[.text2]:00000000h |# D1570 at=[.text]:00000066h,width=32,obj=00000008h,add=FFFFFFF8h,type=rel,tg=.data,[.data]:00000000h |# D1570 at=[.text]:0000006Ah,width=32,obj=00000003h,add=00000000h,type=abs,tg=.text2,[.text2]:00000000h |# D1570 at=[.text]:00000072h,width=32,obj=00000008h,add=00000000h,type=abs,tg=.data,[.data]:00000000h |# D1570 at=[.text]:00000076h,width=32,obj=00000003h,add=00000000h,type=abs,tg=.text2,[.text2]:00000000h |# D1570 at=[.text]:00000080h,width=32,obj=00000003h,add=FFFFFFFCh,type=rel,tg=.text2,[.text2]:00000000h |# D1570 at=[.text]:00000085h,width=32,obj=00000000h,add=FFFFFFFCh,type=rel,tg=ExitProcess,[ExitProcess]:00000000h |# D1790 **** End of %DISPLAY | | ENDPROGRAM t3018 | **** ListMap "t3018.obj",model=FLAT,groups=1,segments=4,entry=,stack= | [.text],FA=000000C0h,RVA=00000000h,size=0000008Ch=140,group [.text] [.text2] | [.text],FA=000000C0h,RVA=00000000h,size=0000008Ch=140,width=64,align=0010h,purpose=CODE | [.text2],FA=00000200h,RVA=00000000h,size=00000005h=5,width=64,align=0010h,purpose=CODE | [.data],FA=00000210h,RVA=00000000h,size=00000010h=16,width=64,align=0010h,purpose=DATA | [.drectve],FA=00000220h,RVA=00000000h,size=00000014h=20,width=0,align=1,purpose=DRECTVE | **** ListGlobals "t3018.obj",Global=0,Public=1,Extern=0,eXport=0,Import=1 | ExitProcess,[ExitProcess]:00000000h,scope='I',lib="kernel32.dll" | Main,[.text]:00000001h,scope='P'
Expected messages t3018.out
I0180 Assembling source file "t3018.htm". I0270 Assembling source "t3018". I0310 Assembling source pass 1. D1550 **** %DISPLAY Relocations "t3018.htm"{99} D1790 **** End of %DISPLAY "t3018.htm"{99} I0330 Assembling source pass 2 - final. I0470 Assembling program "t3018". "t3018.htm"{60} I0510 Assembling program pass 1. "t3018.htm"{60} D1550 **** %DISPLAY Relocations "t3018.htm"{99} D1790 **** End of %DISPLAY "t3018.htm"{99} I0510 Assembling program pass 2. "t3018.htm"{60} D1550 **** %DISPLAY Relocations "t3018.htm"{99} D1790 **** End of %DISPLAY "t3018.htm"{99} I0510 Assembling program pass 3. "t3018.htm"{60} D1550 **** %DISPLAY Relocations "t3018.htm"{99} D1790 **** End of %DISPLAY "t3018.htm"{99} I0530 Assembling program pass 4 - final. "t3018.htm"{60} D1550 **** %DISPLAY Relocations "t3018.htm"{99} D1570 at=[.text]:00000004h,width=32,obj=00000008h,add=00000000h,type=abs,tg=.data,[.data]:00000000h "t3018.htm"{99} D1570 at=[.text]:0000000Bh,width=32,obj=00000008h,add=00000000h,type=abs,tg=.data,[.data]:00000000h "t3018.htm"{99} D1580 at=[.text]:00000011h,width=64,obj=00000003h,add=00000000h,type=abs,tg=.text2,[.text2]:00000000h "t3018.htm"{99} D1570 at=[.text]:0000001Ch,width=32,obj=00000008h,add=00000000h,type=abs,tg=.data,[.data]:00000000h "t3018.htm"{99} D1570 at=[.text]:00000023h,width=32,obj=00000003h,add=FFFFFFFCh,type=rel,tg=.text2,[.text2]:00000000h "t3018.htm"{99} D1570 at=[.text]:0000002Ah,width=32,obj=00000003h,add=FFFFFFFCh,type=rel,tg=.text2,[.text2]:00000000h "t3018.htm"{99} D1570 at=[.text]:00000032h,width=32,obj=00000003h,add=00000000h,type=abs,tg=.text2,[.text2]:00000000h "t3018.htm"{99} D1570 at=[.text]:00000039h,width=32,obj=00000008h,add=FFFFFFF8h,type=rel,tg=.data,[.data]:00000000h "t3018.htm"{99} D1570 at=[.text]:00000044h,width=32,obj=00000008h,add=FFFFFFF8h,type=rel,tg=.data,[.data]:00000000h "t3018.htm"{99} D1570 at=[.text]:00000050h,width=32,obj=00000008h,add=00000000h,type=abs,tg=.data,[.data]:00000000h "t3018.htm"{99} D1570 at=[.text]:0000005Bh,width=32,obj=00000008h,add=FFFFFFF8h,type=rel,tg=.data,[.data]:00000000h "t3018.htm"{99} D1570 at=[.text]:0000005Fh,width=32,obj=00000003h,add=00000000h,type=abs,tg=.text2,[.text2]:00000000h "t3018.htm"{99} D1570 at=[.text]:00000066h,width=32,obj=00000008h,add=FFFFFFF8h,type=rel,tg=.data,[.data]:00000000h "t3018.htm"{99} D1570 at=[.text]:0000006Ah,width=32,obj=00000003h,add=00000000h,type=abs,tg=.text2,[.text2]:00000000h "t3018.htm"{99} D1570 at=[.text]:00000072h,width=32,obj=00000008h,add=00000000h,type=abs,tg=.data,[.data]:00000000h "t3018.htm"{99} D1570 at=[.text]:00000076h,width=32,obj=00000003h,add=00000000h,type=abs,tg=.text2,[.text2]:00000000h "t3018.htm"{99} D1570 at=[.text]:00000080h,width=32,obj=00000003h,add=FFFFFFFCh,type=rel,tg=.text2,[.text2]:00000000h "t3018.htm"{99} D1570 at=[.text]:00000085h,width=32,obj=00000000h,add=FFFFFFFCh,type=rel,tg=ExitProcess,[ExitProcess]:00000000h "t3018.htm"{99} D1790 **** End of %DISPLAY "t3018.htm"{99} I0660 64bit FLAT COFF file "t3018.obj" created, size=814. "t3018.htm"{120} I0650 Program "t3018" assembled in 4 passes with errorlevel 1. "t3018.htm"{120} I0750 Source "t3018" (232 lines) assembled in 2 passes with errorlevel 1. I0860 Listing file "t3018.htm.lst" created, size=5609. I0990 EuroAssembler terminated with errorlevel 1.
Expected output file t3018. obj
0000: 64 86 04 00 00 00 00 00 34 02 00 00 0D 00 00 00  d¤·°°°°°4·°°·°°°
0010: 00 00 20 00 2E 74 65 78 74 00 00 00 00 00 00 00  °°¯°.text°°°°°°°
0020: 00 00 00 00 8C 00 00 00 C0 00 00 00 4C 01 00 00  °°°°¤°°°¤°°°L·°°
0030: 00 00 00 00 12 00 00 00 20 00 50 60 2E 74 65 78  °°°°·°°°¯°P`.tex
0040: 74 32 00 00 00 00 00 00 00 00 00 00 05 00 00 00  t2°°°°°°°°°°·°°°
0050: 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00  °·°°°°°°°°°°°°°°
0060: 20 00 50 60 2E 64 61 74 61 00 00 00 00 00 00 00  ¯°P`.data°°°°°°°
0070: 00 00 00 00 10 00 00 00 10 02 00 00 00 00 00 00  °°°°·°°°··°°°°°°
0080: 00 00 00 00 00 00 00 00 40 00 50 C0 2E 64 72 65  °°°°°°°°@°P¤.dre
0090: 63 74 76 65 00 00 00 00 00 00 00 00 14 00 00 00  ctve°°°°°°°°·°°°
00A0: 20 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ¯·°°°°°°°°°°°°°°
00B0: 00 0A 10 02 00 00 00 00 00 00 00 00 00 00 00 00  °¬··°°°°°°°°°°°°
00C0: 90 67 48 A1 08 00 00 00 67 48 A1 08 00 00 00 48  ¤gH¤·°°°gH¤·°°°H
00D0: B8 03 00 00 00 00 00 00 00 67 48 A3 08 00 00 00  ¤·°°°°°°°gH¤·°°°
00E0: 48 8D 05 03 00 00 00 48 8D 05 03 00 00 00 48 8D  H¤··°°°H¤··°°°H¤
00F0: 04 25 03 00 00 00 48 C7 05 04 00 00 00 CC BB AA  ·%·°°°H¤··°°°¤¤¤
0100: 99 48 C7 05 04 00 00 00 CC BB AA 99 48 C7 04 25  ¤H¤··°°°¤¤¤¤H¤·%
0110: 08 00 00 00 CC BB AA 99 48 C7 05 04 00 00 00 03  ·°°°¤¤¤¤H¤··°°°·
0120: 00 00 00 48 C7 05 04 00 00 00 03 00 00 00 48 C7  °°°H¤··°°°·°°°H¤
0130: 04 25 08 00 00 00 03 00 00 00 E8 0A 00 00 00 E8  ·%·°°°·°°°¤¬°°°¤
0140: 03 00 00 00 E8 00 00 00 00 90 90 C3 04 00 00 00  ·°°°¤°°°°¤¤¤·°°°
0150: 02 00 00 00 02 00 0B 00 00 00 02 00 00 00 02 00  ·°°°·°·°°°·°°°·°
0160: 11 00 00 00 06 00 00 00 01 00 1C 00 00 00 02 00  ·°°°·°°°·°·°°°·°
0170: 00 00 02 00 23 00 00 00 06 00 00 00 04 00 2A 00  °°·°#°°°·°°°·°*°
0180: 00 00 06 00 00 00 04 00 32 00 00 00 06 00 00 00  °°·°°°·°2°°°·°°°
0190: 02 00 39 00 00 00 02 00 00 00 04 00 44 00 00 00  ·°9°°°·°°°·°D°°°
01A0: 02 00 00 00 04 00 50 00 00 00 02 00 00 00 02 00  ·°°°·°P°°°·°°°·°
01B0: 5B 00 00 00 02 00 00 00 04 00 5F 00 00 00 06 00  [°°°·°°°·°_°°°·°
01C0: 00 00 02 00 66 00 00 00 02 00 00 00 04 00 6A 00  °°·°f°°°·°°°·°j°
01D0: 00 00 06 00 00 00 02 00 72 00 00 00 02 00 00 00  °°·°°°·°r°°°·°°°
01E0: 02 00 76 00 00 00 06 00 00 00 02 00 80 00 00 00  ·°v°°°·°°°·°¤°°°
01F0: 06 00 00 00 04 00 85 00 00 00 0B 00 00 00 04 00  ·°°°·°¤°°°·°°°·°
0200: 90 90 90 90 C3 00 00 00 00 00 00 00 00 00 00 00  ¤¤¤¤¤°°°°°°°°°°°
0210: 88 88 88 88 88 88 88 88 88 77 66 55 44 33 22 11  ¤¤¤¤¤¤¤¤¤wfUD3"·
0220: 20 2F 49 4D 50 4F 52 54 3A 45 78 69 74 50 72 6F  ¯/IMPORT:ExitPro
0230: 63 65 73 73 2E 66 69 6C 65 00 00 00 00 00 00 00  cess.file°°°°°°°
0240: FE FF 00 00 67 01 74 33 30 31 38 2E 68 74 6D 00  ¤¤°°g·t3018.htm°
0250: 00 00 00 00 00 00 00 00 2E 64 61 74 61 00 00 00  °°°°°°°°.data°°°
0260: 00 00 00 00 03 00 00 00 03 01 10 00 00 00 00 00  °°°°·°°°···°°°°°
0270: 00 00 00 00 00 00 00 00 00 00 00 00 2E 64 72 65  °°°°°°°°°°°°.dre
0280: 63 74 76 65 00 00 00 00 04 00 00 00 03 01 14 00  ctve°°°°·°°°···°
0290: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  °°°°°°°°°°°°°°°°
02A0: 2E 74 65 78 74 32 00 00 00 00 00 00 02 00 00 00  .text2°°°°°°·°°°
02B0: 03 01 05 00 00 00 00 00 00 00 00 00 00 00 00 00  ···°°°°°°°°°°°°°
02C0: 00 00 00 00 46 61 72 50 72 6F 63 00 03 00 00 00  °°°°FarProc°·°°°
02D0: 02 00 01 02 03 00 4E 65 61 72 50 72 6F 63 89 00  ·°···°NearProc¤°
02E0: 00 00 01 00 01 02 03 00 51 77 6F 72 64 00 00 00  °°·°···°Qword°°°
02F0: 08 00 00 00 03 00 0E 00 03 00 00 00 00 00 04 00  ·°°°·°·°·°°°°°·°
0300: 00 00 00 00 00 00 00 00 01 01 02 00 4D 61 69 6E  °°°°°°°°···°Main
0310: 00 00 00 00 01 00 00 00 01 00 00 00 02 00 10 00  °°°°·°°°·°°°·°·°
0320: 00 00 45 78 69 74 50 72 6F 63 65 73 73 00        °°ExitProcess°

▲Back to the top▲