EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t3332: Machine instructions BSF, BSR


Tested procedures
IigBSF   IigBSR  
Source & expected listing t3332.htm.lst
| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=38, CPU=X64 | |t3332 PROGRAM FORMAT=BIN, SECTIONALIGN=0, FILEALIGN=0, IMAGEBASE=0, LISTMAP=OFF, LISTGLOBALS=OFF |[Mode16] |[Mode16] SEGMENT WIDTH=16,PURPOSE=CODE |0000:0FBCC1 | BSF AX,CX |0003:0FBC1E[BC00] | BSF BX,[MemWord] |0008:0FBC1E2211 | BSF BX,[0x1122] |000D:660FBCC1 | BSF EAX,ECX |0011:660FBC1E[B800] | BSF EBX,[MemDword] |0017:66670FBC1D44332211 | BSF EBX,[0x11223344] |0020:0FBDC1 | BSR AX,CX |0023:0FBD1E[BC00] | BSR BX,[MemWord] |0028:0FBD1E2211 | BSR BX,[0x1122] |002D:660FBDC1 | BSR EAX,ECX |0031:660FBD1E[B800] | BSR EBX,[MemDword] |0037:66670FBD1D44332211 | BSR EBX,[0x11223344] |0040: | |[Mode32] |[Mode32] SEGMENT WIDTH=32,PURPOSE=CODE |00000000:660FBCC1 | BSF AX,CX |00000004:660FBC1D[BC000000] | BSF BX,[MemWord] |0000000C:660FBC1D22110000 | BSF BX,[0x1122] |00000014:0FBCC1 | BSF EAX,ECX |00000017:0FBC1D[B8000000] | BSF EBX,[MemDword] |0000001E:0FBC1D44332211 | BSF EBX,[0x11223344] |00000025:660FBD1D[BC000000] | BSR BX,[MemWord] |0000002D:660FBD1D22110000 | BSR BX,[0x1122] |00000035:0FBDC1 | BSR EAX,ECX |00000038:0FBD1D[B8000000] | BSR EBX,[MemDword] |0000003F:0FBD1D44332211 | BSR EBX,[0x11223344] |00000046: | |[Mode64] |[Mode64] SEGMENT WIDTH=64,PURPOSE=CODE |00000000:660FBCC1 | BSF AX,CX |00000004:660FBC1DB0000000 | BSF BX,[MemWord] |0000000C:660FBC1C2522110000 | BSF BX,[0x1122] |00000015:0FBCC1 | BSF EAX,ECX |00000018:0FBC1D99000000 | BSF EBX,[MemDword] |0000001F:0FBC1C2544332211 | BSF EBX,[0x11223344] |00000027:480FBCC1 | BSF RAX,RCX |0000002B:480FBC1D7D000000 | BSF RBX,[MemQword] |00000033:480FBC1C2544332211 | BSF RBX,[0x11223344] |0000003C:4D0FBCF8 | BSF R15,R8 |00000040:440FBC0D70000000 | BSF R9D,[MemDword] |00000048:440FBC0C25[B8000000] | BSF R9D,[MemDword],ADDR=ABS |00000051:660FBDC1 | BSR AX,CX |00000055:660FBD1D5F000000 | BSR BX,[MemWord] |0000005D:660FBD1C2522110000 | BSR BX,[0x1122] |00000066:0FBDC1 | BSR EAX,ECX |00000069:0FBD1D48000000 | BSR EBX,[MemDword] |00000070:0FBD1C2544332211 | BSR EBX,[0x11223344] |00000078:480FBDC1 | BSR RAX,RCX |0000007C:480FBD1D2C000000 | BSR RBX,[MemQword] |00000084:480FBD1C2544332211 | BSR RBX,[0x11223344] |0000008D:4D0FBDF8 | BSR R15,R8 |00000091:440FBD0D1F000000 | BSR R9D,[MemDword] |00000099:440FBD0C25[B8000000] | BSR R9D,[MemDword],ADDR=ABS |000000A2: | |000000A2:660F1F8420000000000F1F4420~| ALIGN 16 |000000B0:0000000000000000 |MemQword DQ Q |000000B8:00000000 |MemDword DD D |000000BC:0000 |MemWord DW W | | ENDPROGRAM t3332
Expected messages t3332.out
I0180 Assembling source file "t3332.htm". I0270 Assembling source "t3332". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t3332". "t3332.htm"{52} I0510 Assembling program pass 1. "t3332.htm"{52} I0510 Assembling program pass 2. "t3332.htm"{52} I0530 Assembling program pass 3 - final. "t3332.htm"{52} I0660 16bit TINY BIN file "t3332.bin" created, size=334. "t3332.htm"{110} I0650 Program "t3332" assembled in 3 passes with errorlevel 0. "t3332.htm"{110} I0750 Source "t3332" (129 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t3332.htm.lst" created, size=3552. I0990 EuroAssembler terminated with errorlevel 0.

▲Back to the top▲