EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t3031: 16bit MOFFS addressing mode


Description
Copying between memory|immediate and accumulator in special MOFFS addressing mode with opcodes A0..A3, B0..BF.
See also
t7112  
Tested procedures
IigMOV  
Source & expected listing t3031.htm.lst
| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=28,AUTOALIGN=OFF, CPU=386 | |t3031: PROGRAM FORMAT=BIN, WIDTH=16, LISTMAP=OFF, LISTGLOBALS=OFF |[.text] |[.text] |0000:87C9 | ALIGN OWORD,WORD |0002:22222222 |NearDword DD 0x22222222 |0006:3333 |NearWord DW 0x3333 |0008:44 |NearByte DB 0x44 |0009:B044 | MOV AL,0x44 |000B:B83333 | MOV AX,0x3333 |000E:66B822222222 | MOV EAX,0x22222222 |0014:B144 | MOV CL,0x44 |0016:B93333 | MOV CX,0x3333 |0019:66B922222222 | MOV ECX,0x22222222 |001F:66B9FFFFFFFF | MOV ECX,0xFFFFFFFF |0025:66B9FFFFFFFF | MOV ECX,-1 |002B: | |002B:A02211 | MOV AL,[1122h] |002E:A0[0800] | MOV AL,[NearByte] |0031:A0[7700] | MOV AL,[FarByte] |0034:A12211 | MOV AX,[1122h] |0037:A1[0600] | MOV AX,[NearWord] |003A:A1[7500] | MOV AX,[FarWord] |003D:66A12211 | MOV EAX,[1122h] |0041:66A1[0200] | MOV EAX,[NearDword] |0045:66A1[7100] | MOV EAX,[FarDword] |0049:A22211 | MOV [1122h],AL |004C:A2[0800] | MOV [NearByte],AL |004F:A2[7700] | MOV [FarByte],AL |0052:A32211 | MOV [1122h],AX |0055:A3[0600] | MOV [NearWord],AX |0058:A3[7500] | MOV [FarWord],AX |005B:66A32211 | MOV [1122h],EAX |005F:66A3[0200] | MOV [NearDword],EAX |0063:66A3[7100] | MOV [FarDword],EAX |0067: | |[.data] |[.data] |0070:90 |ALIGN QWORD,BYTE |0071:EEEEEEEE |FarDword DD 0xEEEEEEEE |0075:DDDD |FarWord DW 0xDDDD |0077:CC |FarByte DB 0xCC | | ENDPROGRAM t3031:
Expected messages t3031.out
I0180 Assembling source file "t3031.htm". I0270 Assembling source "t3031". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t3031". "t3031.htm"{57} I0510 Assembling program pass 1. "t3031.htm"{57} I0510 Assembling program pass 2. "t3031.htm"{57} I0530 Assembling program pass 3 - final. "t3031.htm"{57} I0660 16bit TINY BIN file "t3031.bin" created, size=120. "t3031.htm"{96} I0650 Program "t3031" assembled in 3 passes with errorlevel 0. "t3031.htm"{96} I0750 Source "t3031" (115 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t3031.htm.lst" created, size=1976. I0990 EuroAssembler terminated with errorlevel 0.

▲Back to the top▲