Test t3211:
Machine instructions LODS LODSB LODSW LODSD LODSQ
- Tested procedures
-
IigLODS
IigLODSB
IigLODSW
IigLODSD
IigLODSQ
- Source & expected listing
t3211.htm.lst
-
| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=30, CPU=X64
| |t3211 PROGRAM FORMAT=BIN,LISTMAP=OFF,LISTGLOBALS=OFF
| |;;
|[Mode16] |[Mode16] SEGMENT WIDTH=16,PURPOSE=CODE
|0000:AC | LODSB
|0001:AD | LODSW
|0002:66AD | LODSD
|0004:F3AD | REP LODSW
|0006:F3AD | REPE LODSW
|0008:F2AD | REPNE LODSW
|000A:AC | LODS AL
|000B:AD | LODS AX
|000C:66AD | LODS EAX
|000E:AC | LODS DATA=BYTE
|000F:AD | LODS DATA=WORD
|0010:66AD | LODS DATA=DWORD
|0012:67AD | LODS AX,[ESI]
|0014:2E67AD | LODS AX,[CS:ESI]
|0017:26AD | LODS AX,[ES:SI]
|0019:2EAD | LODS AX,[CS:SI]
|001B:AD | LODS AX,[DS:SI]
|001C:2EAD | SEGCS LODSW
|001E:3EAD | SEGDS LODSW
|0020:26AD | SEGES LODSW
|0022:AC | LODS [MemByte]
|0023:AD | LODS [MemWord]
|0024:66AD | LODS [MemDword]
|0026:AD | LODS AX,[MemQword]
|0027:AC | LODS [SI+MemByte]
|0028:AD | LODS [SI+MemWord]
|0029:66AD | LODS [SI+MemDword]
| |;;
|[Mode32] |[Mode32] SEGMENT WIDTH=32,PURPOSE=CODE
|00000000:AC | LODSB
|00000001:66AD | LODSW
|00000003:AD | LODSD
|00000004:F366AD | REP LODSW
|00000007:F366AD | REPE LODSW
|0000000A:F266AD | REPNE LODSW
|0000000D:AC | LODS AL
|0000000E:66AD | LODS AX
|00000010:AD | LODS EAX
|00000011:AC | LODS DATA=BYTE
|00000012:66AD | LODS DATA=WORD
|00000014:AD | LODS DATA=DWORD
|00000015:6667AD | LODS AX,[SI]
|00000018:2E6667AD | LODS AX,[CS:SI]
|0000001C:2666AD | LODS AX,[ES:ESI]
|0000001F:2E66AD | LODS AX,[CS:ESI]
|00000022:66AD | LODS AX,[DS:ESI]
|00000024:2EAD | SEGCS LODSD
|00000026:3EAD | SEGDS LODSD
|00000028:26AD | SEGES LODSD
|0000002A:AC | LODS [MemByte]
|0000002B:66AD | LODS [MemWord]
|0000002D:AD | LODS [MemDword]
|0000002E:AD | LODS EAX,[MemQword]
|0000002F:AC | LODS [ESI+MemByte]
|00000030:66AD | LODS [ESI+MemWord]
|00000032:AD | LODS [ESI+MemDword]
| |;;
|[Mode64] |[Mode64] SEGMENT WIDTH=64,PURPOSE=CODE
|00000000:AC | LODSB
|00000001:66AD | LODSW
|00000003:AD | LODSD
|00000004:48AD | LODSQ
|00000006:F348AD | REP LODSQ
|00000009:F348AD | REPE LODSQ
|0000000C:F248AD | REPNE LODSQ
|0000000F:AC | LODS AL
|00000010:66AD | LODS AX
|00000012:AD | LODS EAX
|00000013:48AD | LODS RAX
|00000015:AC | LODS DATA=BYTE
|00000016:66AD | LODS DATA=WORD
|00000018:AD | LODS DATA=DWORD
|00000019:48AD | LODS DATA=QWORD
|0000001B:48AD | LODS RAX,[RSI]
|0000001D:6748AD | LODS RAX,[ESI]
|00000020:646748AD | LODS RAX,[FS:ESI]
|00000024:64AD | SEGFS LODSD
|00000026:AC | LODS [MemByte]
|00000027:66AD | LODS [MemWord]
|00000029:AD | LODS [MemDword]
|0000002A:48AD | LODS [MemQword]
|0000002C:AC | LODS [RSI+MemByte]
|0000002D:66AD | LODS [RSI+MemWord]
|0000002F:AD | LODS [RSI+MemDword]
|00000030:48AD | LODS [RSI+MemQword]
|00000032:660F1F442000 | ALIGN QWORD
|00000038:0000000000000000 |MemQword DQ Q
|00000040:00000000 |MemDword DD D
|00000044:0000 |MemWord DW W
|00000046:00 |MemByte DB B
| | ENDPROGRAM t3211
- Expected messages
t3211.out
I0180 Assembling source file "t3211.htm".
I0270 Assembling source "t3211".
I0310 Assembling source pass 1.
I0330 Assembling source pass 2 - final.
I0470 Assembling program "t3211". "t3211.htm"{61}
I0510 Assembling program pass 1. "t3211.htm"{61}
I0510 Assembling program pass 2. "t3211.htm"{61}
I0510 Assembling program pass 3. "t3211.htm"{61}
I0530 Assembling program pass 4 - final. "t3211.htm"{61}
I0660 16bit TINY BIN file "t3211.bin" created, size=183. "t3211.htm"{154}
I0650 Program "t3211" assembled in 4 passes with errorlevel 0. "t3211.htm"{154}
I0750 Source "t3211" (174 lines) assembled in 2 passes with errorlevel 0.
I0860 Listing file "t3211.htm.lst" created, size=4413.
I0990 EuroAssembler terminated with errorlevel 0.
▲Back to the top▲