EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t3173: Machine instructions LOOP LOOPNE LOOPNZ LOOPE LOOPZ JECXZ JRCXZ in 64bit mode


Tested procedures
IigLOOP   IigLOOPE   IigLOOPZ   IigLOOPNE   IigLOOPNZ   IigJECXZ   IigJRCXZ  
Source & expected listing t3173.htm.lst
| | EUROASM LIST=ON,DUMP=ON,AUTOALIGN=OFF,DUMPWIDTH=32,CPU=X64 | |t3173 PROGRAM FORMAT=BIN,MODEL=FLAT,IMAGEBASE=3000h,LISTMAP=OFF,LISTGLOBALS=OFF |[Mode64] |[Mode64] SEGMENT WIDTH=64,PURPOSE=CODE ; Linked at 00003000h. |00000000:67E3FD | JECXZ $ |00000003:E3FE | JRCXZ $ |00000005:E2FE | LOOP $ |00000007:E1FE | LOOPE $ |00000009:E1FE | LOOPZ $ |0000000B:E0FE | LOOPNE $ |0000000D:E0FE | LOOPNZ $ |0000000F:67E2FD | LOOP $,ECX |00000012:67E1FD | LOOPE $,ECX |00000015:67E0FD | LOOPNE $,ECX |00000018:E202EB05E9(11000000) | LOOP 0x11 ; Proxy JMPN to 00003011h. |00000021:E202EB05E9(22110000) | LOOP 0x1122 ; Proxy JMPN to 00004122h. |0000002A:E202EB05E9(33221100) | LOOP 0x112233 ; Proxy JMPN to 00115233h. |00000033:E202EB05E9F7FFFFFF | LOOP $,DIST=NEAR ; Proxy JMPN to 00003033h. |0000003C:E202EB05E9F7FFFFFF | LOOP $,DIST=NEAR,DATA=QWORD ; Proxy JMPN to 0000303Ch. |00000045:E202EB05E9F7FFFFFF | LOOP $,DIST=NEAR,IMM=DWORD ; Proxy JMPN to 00003045h. |0000004E:E202EB05E977FFFFFF | LOOP $-128 ; Proxy JMPN to 00002FCEh. |00000057:E202EB05E978FFFFFF | LOOP $-127 ; Proxy JMPN to 00002FD8h. |00000060:E280 | LOOP $-126 |00000062:E281 | LOOP $-125 |00000064:E27E | LOOP $+128 |00000066:E27F | LOOP $+129 |00000068:E202EB05E979000000 | LOOP $+130 ; Proxy JMPN to 000030EAh. |00000071:E202EB05E97A000000 | LOOP $+131 ; Proxy JMPN to 000030F4h. |0000007A:E209 | LOOP NearLabel: |0000007C:E202EB05E900000000 | LOOP NearLabel:,DIST=NEAR ; Proxy JMPN to 00003085h. |00000085:C3 |NearLabel:RET | |ENDPROGRAM t3173
Expected messages t3173.out
I0180 Assembling source file "t3173.htm". I0270 Assembling source "t3173". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t3173". "t3173.htm"{67} I0510 Assembling program pass 1. "t3173.htm"{67} I0510 Assembling program pass 2. "t3173.htm"{67} I0530 Assembling program pass 3 - final. "t3173.htm"{67} I0660 32bit FLAT BIN file "t3173.bin" created, size=134. "t3173.htm"{96} I0650 Program "t3173" assembled in 3 passes with errorlevel 0. "t3173.htm"{96} I0750 Source "t3173" (128 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t3173.htm.lst" created, size=2081. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t3173. bin
0000: 67 E3 FD E3 FE E2 FE E1 FE E1 FE E0 FE E0 FE 67  g¤¤¤¤¤¤¤¤¤¤¤¤¤¤g
0010: E2 FD 67 E1 FD 67 E0 FD E2 02 EB 05 E9 F0 FF FF  ¤¤g¤¤g¤¤¤·¤·¤¤¤¤
0020: FF E2 02 EB 05 E9 F8 10 00 00 E2 02 EB 05 E9 00  ¤¤·¤·¤¤·°°¤·¤·¤°
0030: 22 11 00 E2 02 EB 05 E9 F7 FF FF FF E2 02 EB 05  "·°¤·¤·¤¤¤¤¤¤·¤·
0040: E9 F7 FF FF FF E2 02 EB 05 E9 F7 FF FF FF E2 02  ¤¤¤¤¤¤·¤·¤¤¤¤¤¤·
0050: EB 05 E9 77 FF FF FF E2 02 EB 05 E9 78 FF FF FF  ¤·¤w¤¤¤¤·¤·¤x¤¤¤
0060: E2 80 E2 81 E2 7E E2 7F E2 02 EB 05 E9 79 00 00  ¤¤¤¤¤~¤¤¤·¤·¤y°°
0070: 00 E2 02 EB 05 E9 7A 00 00 00 E2 09 E2 02 EB 05  °¤·¤·¤z°°°¤·¤·¤·
0080: E9 00 00 00 00 C3                                ¤°°°°¤

▲Back to the top▲