EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t3032: 32bit 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 t3032.htm.lst
| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=28,AUTOALIGN=OFF, CPU=386 | |t3032: PROGRAM FORMAT=BIN, WIDTH=32, LISTMAP=OFF, LISTGLOBALS=OFF |[.text] |[.text] |00000000:6690 | ALIGN OWORD,WORD |00000002:22222222 |NearDword DD 0x22222222 |00000006:3333 |NearWord DW 0x3333 |00000008:44 |NearByte DB 0x44 |00000009:B044 | MOV AL,0x44 |0000000B:66B83333 | MOV AX,0x3333 |0000000F:B822222222 | MOV EAX,0x22222222 |00000014:B144 | MOV CL,0x44 |00000016:66B93333 | MOV CX,0x3333 |0000001A:B922222222 | MOV ECX,0x22222222 |0000001F:B9FFFFFFFF | MOV ECX,0xFFFFFFFF |00000024:B9FFFFFFFF | MOV ECX,-1 |00000029: | |00000029:A022110000 | MOV AL,[1122h] |0000002E:A0[08000000] | MOV AL,[NearByte] |00000033:A0[97000000] | MOV AL,[FarByte] |00000038:66A122110000 | MOV AX,[1122h] |0000003E:66A1[06000000] | MOV AX,[NearWord] |00000044:66A1[95000000] | MOV AX,[FarWord] |0000004A:A122110000 | MOV EAX,[1122h] |0000004F:A1[02000000] | MOV EAX,[NearDword] |00000054:A1[91000000] | MOV EAX,[FarDword] |00000059:A222110000 | MOV [1122h],AL |0000005E:A2[08000000] | MOV [NearByte],AL |00000063:A2[97000000] | MOV [FarByte],AL |00000068:66A322110000 | MOV [1122h],AX |0000006E:66A3[06000000] | MOV [NearWord],AX |00000074:66A3[95000000] | MOV [FarWord],AX |0000007A:A322110000 | MOV [1122h],EAX |0000007F:A3[02000000] | MOV [NearDword],EAX |00000084:A3[91000000] | MOV [FarDword],EAX |00000089: | |[.data] |[.data] |00000090:90 |ALIGN QWORD,BYTE |00000091:EEEEEEEE |FarDword DD 0xEEEEEEEE |00000095:DDDD |FarWord DW 0xDDDD |00000097:CC |FarByte DB 0xCC | | ENDPROGRAM t3032:
Expected messages t3032.out
I0180 Assembling source file "t3032.htm". I0270 Assembling source "t3032". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t3032". "t3032.htm"{52} I0510 Assembling program pass 1. "t3032.htm"{52} I0510 Assembling program pass 2. "t3032.htm"{52} I0530 Assembling program pass 3 - final. "t3032.htm"{52} I0660 32bit TINY BIN file "t3032.bin" created, size=152. "t3032.htm"{91} I0650 Program "t3032" assembled in 3 passes with errorlevel 0. "t3032.htm"{91} I0750 Source "t3032" (110 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t3032.htm.lst" created, size=1976. I0990 EuroAssembler terminated with errorlevel 0.

▲Back to the top▲