| Index | Manual | Download | Source | Macros | Embedded word Case ins.
Sitemap | Links | Forum | Tests | Projects

# Test t3341: Machine instructions LZCNT POPCNT

Tested procedures
  IigLZCNT IigPOPCNT

Source & expected listing t3341.htm.lst
  `| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=38, CPU=X64, SIMD=SSE4 | |t3341 PROGRAM FORMAT=BIN, SECTIONALIGN=0, FILEALIGN=0, IMAGEBASE=0, LISTMAP=OFF, LISTGLOBALS=OFF |[Mode16] |[Mode16] SEGMENT WIDTH=16,PURPOSE=CODE |0000:F30FB8C1 | POPCNT AX,CX |0004:F30FB81E[CC00] | POPCNT BX,[MemWord] |000A:F30FB81E2211 | POPCNT BX,[0x1122] |0010:66F30FB8C1 | POPCNT EAX,ECX |0015:66F30FB81E[C800] | POPCNT EBX,[MemDword] |001C:6667F30FB81D44332211 | POPCNT EBX,[0x11223344] |0026:F30FBDC1 | LZCNT AX,CX |002A:F30FBD1E[CC00] | LZCNT BX,[MemWord] |0030:F30FBD1E2211 | LZCNT BX,[0x1122] |0036:66F30FBDC1 | LZCNT EAX,ECX |003B:66F30FBD1E[C800] | LZCNT EBX,[MemDword] |0042:6667F30FBD1D44332211 | LZCNT EBX,[0x11223344] |[Mode32] |[Mode32] SEGMENT WIDTH=32,PURPOSE=CODE |00000000:66F30FB8C1 | POPCNT AX,CX |00000005:66F30FB81D[CC000000] | POPCNT BX,[MemWord] |0000000E:66F30FB81D22110000 | POPCNT BX,[0x1122] |00000017:F30FB8C1 | POPCNT EAX,ECX |0000001B:F30FB81D[C8000000] | POPCNT EBX,[MemDword] |00000023:F30FB81D44332211 | POPCNT EBX,[0x11223344] |0000002B:66F30FBD1D[CC000000] | LZCNT BX,[MemWord] |00000034:66F30FBD1D22110000 | LZCNT BX,[0x1122] |0000003D:F30FBDC1 | LZCNT EAX,ECX |00000041:F30FBD1D[C8000000] | LZCNT EBX,[MemDword] |00000049:F30FBD1D44332211 | LZCNT EBX,[0x11223344] |[Mode64] |[Mode64] SEGMENT WIDTH=64,PURPOSE=CODE |00000000:66F30FB8C1 | POPCNT AX,CX |00000005:66F30FB81DBE000000 | POPCNT BX,[MemWord] |0000000E:66F30FB81C2522110000 | POPCNT BX,[0x1122] |00000018:F30FB8C1 | POPCNT EAX,ECX |0000001C:F30FB81DA4000000 | POPCNT EBX,[MemDword] |00000024:F30FB81C2544332211 | POPCNT EBX,[0x11223344] |0000002D:F3480FB8C1 | POPCNT RAX,RCX |00000032:F3480FB81D85000000 | POPCNT RBX,[MemQword] |0000003B:F3480FB81C2544332211 | POPCNT RBX,[0x11223344] |00000045:F34D0FB8F8 | POPCNT R15,R8 |0000004A:F3440FB80D75000000 | POPCNT R9D,[MemDword] |00000053:F3440FB80C25[C8000000] | POPCNT R9D,[MemDword],ADDR=ABS |0000005D:66F30FBDC1 | LZCNT AX,CX |00000062:66F30FBD1D61000000 | LZCNT BX,[MemWord] |0000006B:66F30FBD1C2522110000 | LZCNT BX,[0x1122] |00000075:F30FBDC1 | LZCNT EAX,ECX |00000079:F30FBD1D47000000 | LZCNT EBX,[MemDword] |00000081:F30FBD1C2544332211 | LZCNT EBX,[0x11223344] |0000008A:F3480FBDC1 | LZCNT RAX,RCX |0000008F:F3480FBD1D28000000 | LZCNT RBX,[MemQword] |00000098:F3480FBD1C2544332211 | LZCNT RBX,[0x11223344] |000000A2:F34D0FBDF8 | LZCNT R15,R8 |000000A7:F3440FBD0D18000000 | LZCNT R9D,[MemDword] |000000B0:F3440FBD0C25[C8000000] | LZCNT R9D,[MemDword],ADDR=ABS |000000BA:660F1F442000 | ALIGN 16 |000000C0:0000000000000000 |MemQword DQ Q |000000C8:00000000 |MemDword DD D |000000CC:0000 |MemWord DW W | | ENDPROGRAM t3341`

Expected messages t3341.out
  `I0180 Assembling source file "t3341.htm". I0270 Assembling source "t3341". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t3341". "t3341.htm"{52} I0510 Assembling program pass 1. "t3341.htm"{52} I0510 Assembling program pass 2. "t3341.htm"{52} I0530 Assembling program pass 3 - final. "t3341.htm"{52} I0660 16bit TINY BIN file "t3341.bin" created, size=382. "t3341.htm"{107} I0650 Program "t3341" assembled in 3 passes with errorlevel 0. "t3341.htm"{107} I0750 Source "t3341" (126 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t3341.htm.lst" created, size=3514. I0990 EuroAssembler terminated with errorlevel 0.`

▲Back to the top▲