EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t3185: Machine instructions LEA


Tested procedures
IigLEA  
Source & expected listing t3185.htm.lst
| | EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=30,AUTOALIGN=ON,CPU=X64 | |t3185 PROGRAM FORMAT=BIN,MODEL=FLAT,LISTMAP=OFF,LISTGLOBALS=OFF |[Mode16] |[Mode16] SEGMENT WIDTH=16,PURPOSE=CODE ; Linked at 00000000h. |0000:8D07 | LEA AX,[BX] |0002:8D00 | LEA AX,[BX+SI] |0004:8D802211 | LEA AX,[BX+SI+0x1122] |0008:8D0E2211 | LEA CX,[0x1122] |000C:8D0E[8400] | LEA CX,[MemWord] |0010:668D5E00 | LEA EBX,[BP] |0014:668D1A | LEA EBX,[BP+SI] |0017:668D9A2211 | LEA EBX,[BP+SI+0x1122] |001C:668D0E[8000] | LEA ECX,[MemDword] |0021:66678D0D90909090 | LEA ECX,[0x90909090] |0029: | |[Mode32] |[Mode32] SEGMENT WIDTH=32,PURPOSE=CODE ; Linked at 00000030h. |00000000:668D03 | LEA AX,[EBX] |00000003:668D04B3 | LEA AX,[EBX+4*ESI] |00000007:668D84B322110000 | LEA AX,[EBX+4*ESI+0x1122] |0000000F:668D0D22110000 | LEA CX,[0x1122] |00000016:668D0D[84000000] | LEA CX,[MemWord] |0000001D:8D5D00 | LEA EBX,[EBP] |00000020:8D5CB500 | LEA EBX,[EBP+4*ESI] |00000024:8D5D11 | LEA EBX,[EBP+0x11] |00000027:8D9D44332211 | LEA EBX,[EBP+0x11223344] |0000002D:8D0D[80000000] | LEA ECX,[MemDword] |00000033: | |[Mode64] |[Mode64] SEGMENT WIDTH=64,PURPOSE=CODE ; Linked at 00000070h. |00000000:668D03 | LEA AX,[RBX] |00000003:668D04B3 | LEA AX,[RBX+4*RSI] |00000007:668D84B322110000 | LEA AX,[RBX+4*RSI+0x1122] |0000000F:668D0D6E000000 | LEA CX,[MemWord] |00000016:668D0C2522110000 | LEA CX,[0x1122] |0000001E:678D5D00 | LEA EBX,[EBP] |00000022:8D5CB500 | LEA EBX,[RBP+4*RSI] |00000026:8D5D11 | LEA EBX,[RBP+0x11] |00000029:8D9D44332211 | LEA EBX,[RBP+0x11223344] |0000002F:8D0C2544332211 | LEA ECX,[0x11223344] |00000036:8D0D44000000 | LEA ECX,[MemDword] |0000003C:8D0C25[80000000] | LEA ECX,[MemDword],ADDR=ABS |00000043:67418D8F[80000000] | LEA ECX,[MemDword+R15D] |0000004B:488D5D00 | LEA RBX,[RBP] |0000004F:488D5CB500 | LEA RBX,[RBP+4*RSI] |00000054:488D5D11 | LEA RBX,[RBP+0x11] |00000058:488D9D44332211 | LEA RBX,[RBP+0x11223344] |0000005F:4C8D86[78000000] | LEA R8,[RSI+MemQword] |00000066:4C8D050B000000 | LEA R8,[MemQword] |0000006D:4C8D0425[78000000] | LEA R8,[MemQword],ADDR=ABS |00000075: | |00000075:0F1F00 ....AutoAlignment stuff. |00000078:8888888888888888 |MemQword DQ Q 0x88888888_88888888h ; Linked at 000000E8h. |00000080:44444444 |MemDword DD D 0x44444444 ; Linked at 000000F0h. |00000084:2222 |MemWord DW W 0x2222 ; Linked at 000000F4h. | | ENDPROGRAM t3185
Expected messages t3185.out
I0180 Assembling source file "t3185.htm". I0270 Assembling source "t3185". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t3185". "t3185.htm"{49} I0510 Assembling program pass 1. "t3185.htm"{49} I0510 Assembling program pass 2. "t3185.htm"{49} I0530 Assembling program pass 3 - final. "t3185.htm"{49} I0660 32bit FLAT BIN file "t3185.bin" created, size=246. "t3185.htm"{100} I0650 Program "t3185" assembled in 3 passes with errorlevel 0. "t3185.htm"{100} I0750 Source "t3185" (139 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t3185.htm.lst" created, size=2982. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t3185. bin
0000: 8D 07 8D 00 8D 80 22 11 8D 0E 22 11 8D 0E F4 00  ¤·¤°¤¤"·¤·"·¤·¤°
0010: 66 8D 5E 00 66 8D 1A 66 8D 9A 22 11 66 8D 0E F0  f¤^°f¤·f¤¤"·f¤·¤
0020: 00 66 67 8D 0D 90 90 90 90 90 90 90 90 90 90 90  °fg¤·¤¤¤¤¤¤¤¤¤¤¤
0030: 66 8D 03 66 8D 04 B3 66 8D 84 B3 22 11 00 00 66  f¤·f¤·¤f¤¤¤"·°°f
0040: 8D 0D 22 11 00 00 66 8D 0D F4 00 00 00 8D 5D 00  ¤·"·°°f¤·¤°°°¤]°
0050: 8D 5C B5 00 8D 5D 11 8D 9D 44 33 22 11 8D 0D F0  ¤\¤°¤]·¤¤D3"·¤·¤
0060: 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90  °°°¤¤¤¤¤¤¤¤¤¤¤¤¤
0070: 66 8D 03 66 8D 04 B3 66 8D 84 B3 22 11 00 00 66  f¤·f¤·¤f¤¤¤"·°°f
0080: 8D 0D 6E 00 00 00 66 8D 0C 25 22 11 00 00 67 8D  ¤·n°°°f¤·%"·°°g¤
0090: 5D 00 8D 5C B5 00 8D 5D 11 8D 9D 44 33 22 11 8D  ]°¤\¤°¤]·¤¤D3"·¤
00A0: 0C 25 44 33 22 11 8D 0D 44 00 00 00 8D 0C 25 F0  ·%D3"·¤·D°°°¤·%¤
00B0: 00 00 00 67 41 8D 8F F0 00 00 00 48 8D 5D 00 48  °°°gA¤¤¤°°°H¤]°H
00C0: 8D 5C B5 00 48 8D 5D 11 48 8D 9D 44 33 22 11 4C  ¤\¤°H¤]·H¤¤D3"·L
00D0: 8D 86 E8 00 00 00 4C 8D 05 0B 00 00 00 4C 8D 04  ¤¤¤°°°L¤··°°°L¤·
00E0: 25 E8 00 00 00 90 90 90 88 88 88 88 88 88 88 88  %¤°°°¤¤¤¤¤¤¤¤¤¤¤
00F0: 44 44 44 44 22 22                                DDDD""

▲Back to the top▲