| Index | Manual | Download | Source | Macros | Embedded word Case ins.
Sitemap | Links | Forum | Tests | Projects

# Test t3210: Machine instructions STOS STOSB STOSW STOSD STOSQ

Tested procedures
  IigSTOS IigSTOSB IigSTOSW IigSTOSD IigSTOSQ

Source & expected listing t3210.htm.lst
  `| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=30, CPU=X64 | |t3210 PROGRAM FORMAT=BIN,LISTMAP=OFF,LISTGLOBALS=OFF | |;; |[Mode16] |[Mode16] SEGMENT WIDTH=16,PURPOSE=CODE |0000:AA | STOSB |0001:AB | STOSW |0002:66AB | STOSD |0004:F3AB | REP STOSW |0006:F3AB | REPE STOSW |0008:F2AB | REPNE STOSW |000A:AA | STOS [DI],AL |000B:AB | STOS [DI],AX |000C:66AB | STOS [DI],EAX |000E:AA | STOS DATA=BYTE |000F:AB | STOS DATA=WORD |0010:66AB | STOS DATA=DWORD |0012:AB | STOSW [DI] |0013:67AB | STOSW [EDI] |0015:AB | STOSW [ES:DI] |0016:67AB | STOSW [ES:EDI] |0018:26AB | SEGES STOSW |001A:AA | STOS [MemByte] |001B:AB | STOS [MemWord] |001C:66AB | STOS [MemDword] |001E:AB | STOS [MemQword],AX |001F:AA | STOS [DI+MemByte] |0020:AB | STOS [DI+MemWord] |0021:66AB | STOS [DI+MemDword] | |;; |[Mode32] |[Mode32] SEGMENT WIDTH=32,PURPOSE=CODE |00000000:AA | STOSB |00000001:66AB | STOSW |00000003:AB | STOSD |00000004:F366AB | REP STOSW |00000007:F366AB | REPE STOSW |0000000A:F266AB | REPNE STOSW |0000000D:AA | STOS [EDI],AL |0000000E:66AB | STOS [EDI],AX |00000010:AB | STOS [EDI],EAX |00000011:AA | STOS DATA=BYTE |00000012:66AB | STOS DATA=WORD |00000014:AB | STOS DATA=DWORD |00000015:66AB | STOSW [EDI] |00000017:6667AB | STOSW [DI] |0000001A:6667AB | STOSW [ES:DI] |0000001D:66AB | STOSW [ES:EDI] |0000001F:2666AB | SEGES STOSW |00000022:AA | STOS [MemByte] |00000023:66AB | STOS [MemWord] |00000025:AB | STOS [MemDword] |00000026:AB | STOS [MemQword],EAX |00000027:AA | STOS [EDI+MemByte] |00000028:66AB | STOS [EDI+MemWord] |0000002A:AB | STOS [EDI+MemDword] | |;; |[Mode64] |[Mode64] SEGMENT WIDTH=64,PURPOSE=CODE |00000000:AA | STOSB |00000001:66AB | STOSW |00000003:AB | STOSD |00000004:48AB | STOSQ |00000006:F348AB | REP STOSQ |00000009:F348AB | REPE STOSQ |0000000C:F248AB | REPNE STOSQ |0000000F:AA | STOS [RDI],AL |00000010:66AB | STOS [RDI],AX |00000012:AB | STOS [RDI],EAX |00000013:48AB | STOS [RDI],RAX |00000015:AA | STOS DATA=BYTE |00000016:66AB | STOS DATA=WORD |00000018:AB | STOS DATA=DWORD |00000019:48AB | STOS DATA=QWORD |0000001B:66AB | STOSW [RDI] |0000001D:6667AB | STOSW [EDI] |00000020:AA | STOS [MemByte] |00000021:66AB | STOS [MemWord] |00000023:AB | STOS [MemDword] |00000024:48AB | STOS [MemQword] |00000026:AA | STOS [RDI+MemByte] |00000027:66AB | STOS [RDI+MemWord] |00000029:AB | STOS [RDI+MemDword] |0000002A:48AB | STOS [RDI+MemQword] |0000002C:0F1F4000 | ALIGN QWORD |00000030:0000000000000000 |MemQword DQ Q |00000038:00000000 |MemDword DD D |0000003C:0000 |MemWord DW W |0000003E:00 |MemByte DB B | | ENDPROGRAM t3210`

Expected messages t3210.out
  `I0180 Assembling source file "t3210.htm". I0270 Assembling source "t3210". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t3210". "t3210.htm"{61} I0510 Assembling program pass 1. "t3210.htm"{61} I0510 Assembling program pass 2. "t3210.htm"{61} I0510 Assembling program pass 3. "t3210.htm"{61} I0530 Assembling program pass 4 - final. "t3210.htm"{61} I0660 16bit TINY BIN file "t3210.bin" created, size=159. "t3210.htm"{146} I0650 Program "t3210" assembled in 4 passes with errorlevel 0. "t3210.htm"{146} I0750 Source "t3210" (166 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t3210.htm.lst" created, size=4075. I0990 EuroAssembler terminated with errorlevel 0.`

▲Back to the top▲