EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t3043: Machine instructions MOV MOVB MOVW MOVD MOVQ in 64bit mode


See also
t3041   t3042  
Tested procedures
IigMOV   IigMOVB   IigMOVW   IigMOVD   IigMOVQ  
Source & expected listing t3043.htm.lst
| | EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=36,DUMPALL=OFF,CPU=X64 | |t3043 PROGRAM FORMAT=BIN, LISTMAP=OFF, LISTGLOBALS=OFF |[Mode64] |[Mode64] SEGMENT WIDTH=64,PURPOSE=CODE |00000000:88D1 | MOV CL,DL |00000002:8ACA | MOV CL,DL,CODE=LONG |00000004:88F5 | MOV CH,DH |00000006:8AEE | MOV CH,DH,CODE=LONG |00000008:4088EE | MOV SIL,BPL |0000000B:408AF5 | MOV SIL,BPL,CODE=LONG |0000000E:8A0E | MOV CL,[RSI] |00000010:8A0D38030000 | MOV CL,[MemByte] |00000016:67A0[4E030000] | MOV AL,[MemByte] |0000001C:8A052C030000 | MOV AL,[MemByte],CODE=LONG |00000022:8A0425[4E030000] | MOV AL,[MemByte],CODE=LONG,ADDR=ABS |00000029:A0[4E03000000000000] | MOV AL,[MemByte],DISP=QWORD |00000032:8817 | MOV [RDI],DL |00000034:881514030000 | MOV [MemByte],DL |0000003A:67A2[4E030000] | MOV [MemByte],AL |00000040:880508030000 | MOV [MemByte],AL,CODE=LONG |00000046:880425[4E030000] | MOV [MemByte],AL,CODE=LONG,ADDR=ABS |0000004D:A2[4E03000000000000] | MOV [MemByte],AL,DISP=QWORD |00000056:6689D1 | MOV CX,DX |00000059:668BCA | MOV CX,DX,CODE=LONG |0000005C:668B0E | MOV CX,[RSI] |0000005F:668B0DE6020000 | MOV CX,[MemWord] |00000066:6667A1[4C030000] | MOV AX,[MemWord] |0000006D:668B05D8020000 | MOV AX,[MemWord],CODE=LONG |00000074:668B0425[4C030000] | MOV AX,[MemWord],CODE=LONG,ADDR=ABS |0000007C:66A1[4C03000000000000] | MOV AX,[MemWord],DISP=QWORD |00000086:668917 | MOV [RDI],DX |00000089:668915BC020000 | MOV [MemWord],DX |00000090:6667A3[4C030000] | MOV [MemWord],AX |00000097:668905AE020000 | MOV [MemWord],AX,CODE=LONG |0000009E:66890425[4C030000] | MOV [MemWord],AX,CODE=LONG,ADDR=ABS |000000A6:66A3[4C03000000000000] | MOV [MemWord],AX,DISP=QWORD |000000B0:89D1 | MOV ECX,EDX |000000B2:8BCA | MOV ECX,EDX,CODE=LONG |000000B4:8B0E | MOV ECX,[RSI] |000000B6:8B0D8C020000 | MOV ECX,[MemDword] |000000BC:67A1[48030000] | MOV EAX,[MemDword] |000000C2:8B0580020000 | MOV EAX,[MemDword],CODE=LONG |000000C8:8B0425[48030000] | MOV EAX,[MemDword],CODE=LONG,ADDR=ABS |000000CF:A1[4803000000000000] | MOV EAX,[MemDword],DISP=QWORD |000000D8:8917 | MOV [RDI],EDX |000000DA:891568020000 | MOV [MemDword],EDX |000000E0:67A3[48030000] | MOV [MemDword],EAX |000000E6:89055C020000 | MOV [MemDword],EAX,CODE=LONG |000000EC:890425[48030000] | MOV [MemDword],EAX,CODE=LONG,ADDR=ABS |000000F3:A3[4803000000000000] | MOV [MemDword],EAX,DISP=QWORD |000000FC:4889D1 | MOV RCX,RDX |000000FF:488BCA | MOV RCX,RDX,CODE=LONG |00000102:488B0E | MOV RCX,[RSI] |00000105:488B0D34020000 | MOV RCX,[MemQword] |0000010C:6748A1[40030000] | MOV RAX,[MemQword] |00000113:488B0526020000 | MOV RAX,[MemQword],CODE=LONG |0000011A:488B0425[40030000] | MOV RAX,[MemQword],CODE=LONG,ADDR=ABS |00000122:48A1[4003000000000000] | MOV RAX,[MemQword],DISP=QWORD |0000012C:6748A1FFFFFFFF | MOV RAX,[0xFFFF_FFFF] |00000133:6748A1FFFFFFFF | MOV RAX,[4_294_967_295] |0000013A:48A10000000001000000 | MOV RAX,[4_294_967_296] |00000144:48A10100000001000000 | MOV RAX,[4_294_967_297] |0000014E:48A1FEFFFFFFFFFFFFFF | MOV RAX,[-2] |00000158:488917 | MOV [RDI],RDX |0000015B:488915DE010000 | MOV [MemQword],RDX |00000162:6748A3[40030000] | MOV [MemQword],RAX |00000169:488905D0010000 | MOV [MemQword],RAX,CODE=LONG |00000170:48890425[40030000] | MOV [MemQword],RAX,CODE=LONG,ADDR=ABS |00000178:48A3[4003000000000000] | MOV [MemQword],RAX,DISP=QWORD |00000182:6748A3FFFFFFFF | MOV [0xFFFF_FFFF],RAX |00000189:6748A3FFFFFFFF | MOV [4_294_967_295],RAX |00000190:48A30000000001000000 | MOV [4_294_967_296],RAX |0000019A:48A30100000001000000 | MOV [4_294_967_297],RAX |000001A4:48A3FFFFFFFFFFFFFFFF | MOV [-1],RAX |000001AE:B102 | MOV CL,2 |000001B0:C6C102 | MOV CL,2,CODE=LONG |000001B3:66B90200 | MOV CX,2 |000001B7:66C7C10200 | MOV CX,2,CODE=LONG |000001BC:B902000000 | MOV ECX,2 |000001C1:C7C102000000 | MOV ECX,2,CODE=LONG |000001C7:B902000000 | MOV RCX,2 |000001CC:48C7C102000000 | MOV RCX,2,CODE=LONG |000001D3:48B90200000000000000 | MOV RCX,2,IMM=QWORD |000001DD:48C7C1FEFFFFFF | MOV RCX,-2 |000001E4:48C7C1FEFFFFFF | MOV RCX,-2,CODE=LONG |000001EB:48B9FEFFFFFFFFFFFFFF | MOV RCX,-2,IMM=QWORD |000001F5:B9FFFFFFFF | MOV RCX,0xFFFF_FFFF |000001FA:B9FFFFFFFF | MOV RCX,4_294_967_295 |000001FF:48B90000000001000000 | MOV RCX,4_294_967_296 |00000209:48B90100000001000000 | MOV RCX,4_294_967_297 |00000213:48B9FFFFFF7FFFFFFFFF | MOV RCX,0xFFFFFFFF_7FFFFFFF |0000021D:48B9FFFFFF7FFFFFFFFF | MOV RCX,18_446_744_071_562_067_967 |00000227:48C7C100000080 | MOV RCX,18_446_744_071_562_067_968 |0000022E:48C7C101000080 | MOV RCX,18_446_744_071_562_067_969 |00000235:48C7C100000080 | MOV RCX,-2_147_483_648 |0000023C:48B9FFFFFF7FFFFFFFFF | MOV RCX,-2_147_483_649 |00000246:48B9FEFFFF7FFFFFFFFF | MOV RCX,-2_147_483_650 |00000250:C60702 | MOVB [RDI],2 |00000253:66C7070200 | MOVW [RDI],2 |00000258:C70702000000 | MOVD [RDI],2 |0000025E:48C70702000000 | MOVQ [RDI],2 |00000265:C605E200000002 | MOV [MemByte],2 |0000026C:66C705D70000000200 | MOV [MemWord],2 |00000275:C705C900000002000000 | MOV [MemDword],2 |0000027F:48C705B600000002000000 | MOV [MemQword],2 |0000028A:8EC2 | MOV ES,DX |0000028C:8EC2 | MOV ES,EDX |0000028E:8EC2 | MOV ES,RDX |00000290:8E06 | MOV ES,[RSI] |00000292:8E05B4000000 | MOV ES,[MemWord] |00000298:668CC9 | MOV CX,CS |0000029B:8CC9 | MOV ECX,CS |0000029D:488CC9 | MOV RCX,CS |000002A0:488C0F | MOV [RDI],CS |000002A3:668C0F | MOVW [RDI],CS |000002A6:8C0F | MOVD [RDI],CS |000002A8:488C0F | MOVQ [RDI],CS |000002AB:668C0D9A000000 | MOV [MemWord],CS |000002B2:8C0D90000000 | MOV [MemDword],CS |000002B8:488C0D81000000 | MOV [MemQword],CS | | EUROASM MMX=ON |000002BF:0F6ECA | MOVD MM1,EDX |000002C2:0F7ED1 | MOVD ECX,MM2 |000002C5:0F6E0E | MOVD MM1,[RSI] |000002C8:0F6E0D79000000 | MOVD MM1,[MemDword] |000002CF:0F7E17 | MOVD [RDI],MM2 |000002D2:0F7E156F000000 | MOVD [MemDword],MM2 |000002D9:480F6ECA | MOVQ MM1,RDX |000002DD:480F7ED1 | MOVQ RCX,MM2 |000002E1:0F6FCA | MOVQ MM1,MM2 |000002E4:0F7FD1 | MOVQ MM1,MM2,CODE=LONG |000002E7:0F6F0E | MOVQ MM1,[RSI] |000002EA:480F6E0E | MOVQ MM1,[RSI],CODE=LONG |000002EE:0F7F17 | MOVQ [RDI],MM2 |000002F1:480F7E17 | MOVQ [RDI],MM2,CODE=LONG | | EUROASM SIMD=SSE |000002F5:660F6ECA | MOVD XMM1,EDX |000002F9:660F7ED1 | MOVD ECX,XMM2 |000002FD:660F6E0E | MOVD XMM1,[RSI] |00000301:660F7E17 | MOVD [RDI],XMM2 |00000305:F30F7ECA | MOVQ XMM1,XMM2 |00000309:660FD6D1 | MOVQ XMM1,XMM2,CODE=LONG |0000030D:F30F7E0E | MOVQ XMM1,[RSI] |00000311:66480F6E0E | MOVQ XMM1,[RSI],CODE=LONG |00000316:660FD617 | MOVQ [RDI],XMM2 |0000031A:66480F7E17 | MOVQ [RDI],XMM2,CODE=LONG |0000031F:66480F6ECA | MOVQ XMM1,RDX |00000324:66480F7ED1 | MOVQ RCX,XMM2 | | EUROASM PRIV=ON |00000329:0F21D1 | MOV RCX,DR2 |0000032C:0F23CA | MOV DR1,RDX |0000032F:0F20D1 | MOV RCX,CR2 |00000332:440F20C1 | MOV RCX,CR8 |00000336:0F22C2 | MOV CR0,RDX |00000339:440F22C2 | MOV CR8,RDX |0000033D:0F1F00 | ALIGN QWORD |00000340:0000000000000000 |MemQword D Q |00000348:00000000 |MemDword D D |0000034C:0000 |MemWord D W |0000034E:00 |MemByte D B | |ENDPROGRAM t3043
Expected messages t3043.out
I0180 Assembling source file "t3043.htm". I0270 Assembling source "t3043". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t3043". "t3043.htm"{69} I0510 Assembling program pass 1. "t3043.htm"{69} I0510 Assembling program pass 2. "t3043.htm"{69} I0510 Assembling program pass 3. "t3043.htm"{69} I0530 Assembling program pass 4 - final. "t3043.htm"{69} I0660 16bit TINY BIN file "t3043.bin" created, size=847. "t3043.htm"{227} I0650 Program "t3043" assembled in 4 passes with errorlevel 0. "t3043.htm"{227} I0750 Source "t3043" (247 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t3043.htm.lst" created, size=9226. I0990 EuroAssembler terminated with errorlevel 0.

▲Back to the top▲