EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t3033: 64bit MOFFS addressing mode


Description
Copying between memory|immediate and accumulator in special MOFFS addressing mode with opcodes A0..A3, B0..BF.
Tested procedures
IigMOV  
Source & expected listing t3033.htm.lst
| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=32,AUTOALIGN=OFF, CPU=X64 | |t3033: PROGRAM FORMAT=BIN, WIDTH=64, LISTMAP=OFF, LISTGLOBALS=OFF |[.text] |[.text] |00000000:6690 | ALIGN OWORD,WORD |00000002:1111111111111111 |NearQword DQ 0x11111111_11111111 |0000000A:22222222 |NearDword DD 0x22222222 |0000000E:3333 |NearWord DW 0x3333 |00000010:44 |NearByte DB 0x44 |00000011:B044 | MOV AL,0x44 |00000013:66B83333 | MOV AX,0x3333 |00000017:B822222222 | MOV EAX,0x22222222 |0000001C:48B81111111111111111 | MOV RAX,0x11111111_11111111 |00000026:B144 | MOV CL,0x44 |00000028:66B93333 | MOV CX,0x3333 |0000002C:B922222222 | MOV ECX,0x22222222 |00000031:B9FFFFFFFF | MOV ECX,0xFFFFFFFF |00000036:B9FFFFFFFF | MOV ECX,-1 |0000003B:B922222222 | MOV RCX,0x22222222 |00000040:B9FFFFFFFF | MOV RCX,0xFFFFFFFF |00000045:48C7C1FFFFFFFF | MOV RCX,-1 |0000004C:48B9FFFFFFFFFFFFFFFF | MOV RCX,-1,IMM=QWORD |00000056:48B91111111111111111 | MOV RCX,0x11111111_11111111 |00000060: | |00000060:67A022110000 | MOV AL,[1122h] |00000066:67A0[10000000] | MOV AL,[NearByte] |0000006C:67A0[0B010000] | MOV AL,[FarByte] |00000072:6667A122110000 | MOV AX,[1122h] |00000079:6667A1[0E000000] | MOV AX,[NearWord] |00000080:6667A1[09010000] | MOV AX,[FarWord] |00000087:67A122110000 | MOV EAX,[1122h] |0000008D:67A1[0A000000] | MOV EAX,[NearDword] |00000093:67A1[05010000] | MOV EAX,[FarDword] |00000099:6748A122110000 | MOV RAX,[1122h] |000000A0:6748A1[02000000] | MOV RAX,[NearQword] |000000A7:6748A1[01010000] | MOV RAX,[FarQword] |000000AE:67A222110000 | MOV [1122h],AL |000000B4:67A2[10000000] | MOV [NearByte],AL |000000BA:67A2[0B010000] | MOV [FarByte],AL |000000C0:6667A322110000 | MOV [1122h],AX |000000C7:6667A3[0E000000] | MOV [NearWord],AX |000000CE:6667A3[09010000] | MOV [FarWord],AX |000000D5:67A322110000 | MOV [1122h],EAX |000000DB:67A3[0A000000] | MOV [NearDword],EAX |000000E1:67A3[05010000] | MOV [FarDword],EAX |000000E7:6748A322110000 | MOV [1122h],RAX |000000EE:6748A3[02000000] | MOV [NearQword],RAX |000000F5:6748A3[01010000] | MOV [FarQword],RAX |000000FC: | |[.data] |[.data] |00000100:90 |ALIGN QWORD,BYTE |00000101:FFFFFFFF |FarQword DD 0xFFFFFFFF_FFFFFFFF |00000105:EEEEEEEE |FarDword DD 0xEEEEEEEE |00000109:DDDD |FarWord DW 0xDDDD |0000010B:CC |FarByte DB 0xCC | | ENDPROGRAM t3033:
Expected messages t3033.out
I0180 Assembling source file "t3033.htm". I0270 Assembling source "t3033". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t3033". "t3033.htm"{52} I0510 Assembling program pass 1. "t3033.htm"{52} I0510 Assembling program pass 2. "t3033.htm"{52} I0530 Assembling program pass 3 - final. "t3033.htm"{52} I0660 64bit TINY BIN file "t3033.bin" created, size=268. "t3033.htm"{105} I0650 Program "t3033" assembled in 3 passes with errorlevel 0. "t3033.htm"{105} I0750 Source "t3033" (124 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t3033.htm.lst" created, size=2915. I0990 EuroAssembler terminated with errorlevel 0.

▲Back to the top▲