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=COFF, LISTMAP=OFF, LISTGLOBALS=OFF
|[Mode64] |[Mode64] SEGMENT WIDTH=64,PURPOSE=CODE
|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
|00000021:E202EB05E9(22110000) | LOOP 0x1122
|0000002A:E202EB05E9(33221100) | LOOP 0x112233
|00000033:E202EB05E9F7FFFFFF | LOOP $,DIST=NEAR
|0000003C:E202EB05E9F7FFFFFF | LOOP $,DIST=NEAR,DATA=QWORD
|00000045:E202EB05E9F7FFFFFF | LOOP $,DIST=NEAR,IMM=DWORD
|0000004E:E202EB05E977FFFFFF | LOOP $-128
|00000057:E202EB05E978FFFFFF | LOOP $-127
|00000060:E280 | LOOP $-126
|00000062:E281 | LOOP $-125
|00000064:E27E | LOOP $+128
|00000066:E27F | LOOP $+129
|00000068:E202EB05E979000000 | LOOP $+130
|00000071:E202EB05E97A000000 | LOOP $+131
|0000007A:E212 | LOOP NearLabel:
|0000007C:E202EB05E909000000 | LOOP NearLabel:,DIST=NEAR
|00000085:E202EB05E9(00000000) | LOOP ExternLabel:
|0000008E: |NearLabel:
| |ExternLabel: EXTERN
| |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 COFF file "t3173.obj" created, size=376. "t3173.htm"{98}
I0650 Program "t3173" assembled in 3 passes with errorlevel 0. "t3173.htm"{98}
I0750 Source "t3173" (117 lines) assembled in 2 passes with errorlevel 0.
I0860 Listing file "t3173.htm.lst" created, size=1711.
I0990 EuroAssembler terminated with errorlevel 0.
▲Back to the top▲