EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t3115: Machine instructions SUB SUBB SUBW SUBD in 32bit mode


Tested procedures
IigSUB   IigSUBB   IigSUBW   IigSUBD  
Source & expected listing t3115.htm.lst
| | EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=36,CPU=386 | |t3115 PROGRAM FORMAT=BIN,IMAGEBASE=0,LISTMAP=OFF,LISTGLOBALS=OFF |[Mode32] |[Mode32] SEGMENT WIDTH=32,PURPOSE=CODE |00000000:2C02 | SUB AL,2 |00000002:80E802 | SUB AL,2,CODE=LONG |00000005:662D0200 | SUB AX,2 |00000009:6683E802 | SUB AX,2,CODE=LONG |0000000D:83E802 | SUB EAX,2 |00000010:2D02000000 | SUB EAX,2,CODE=SHORT |00000015:80E902 | SUB CL,2 |00000018:802D[AE000000]02 | SUB [MemByte],2 |0000001F:6683E902 | SUB CX,2 |00000023:6681E90200 | SUB CX,2,IMM=WORD |00000028:66832D[AC000000]02 | SUB [MemWord],2 |00000030:66812D[AC000000]0200 | SUB [MemWord],2,IMM=WORD |00000039:812D[AC000000]02000000 | SUBD [MemWord],2,IMM=DWORD |00000043:83E902 | SUB ECX,2 |00000046:81E902000000 | SUB ECX,2,IMM=DWORD |0000004C:832D[A8000000]02 | SUB [MemDword],2 |00000053:66832D[A8000000]02 | SUBW [MemDword],2 |0000005B:812D[A8000000]02000000 | SUB [MemDword],2,IMM=DWORD |00000065:802F02 | SUBB [EDI],2 |00000068:66832F02 | SUBW [EDI],2 |0000006C:832F02 | SUBD [EDI],2 |0000006F:28D1 | SUB CL,DL |00000071:2ACA | SUB CL,DL,CODE=LONG |00000073:28F5 | SUB CH,DH |00000075:2AEE | SUB CH,DH,CODE=LONG |00000077:6629D1 | SUB CX,DX |0000007A:662BCA | SUB CX,DX,CODE=LONG |0000007D:29D1 | SUB ECX,EDX |0000007F:2BCA | SUB ECX,EDX,CODE=LONG |00000081:2A0D[AE000000] | SUB CL,[MemByte] |00000087:662B0D[AC000000] | SUB CX,[MemWord] |0000008E:2B0D[A8000000] | SUB ECX,[MemDword] |00000094:2815[AE000000] | SUB [MemByte],DL |0000009A:662915[AC000000] | SUB [MemWord],DX |000000A1:2915[A8000000] | SUB [MemDword],EDX |000000A7:90 | ALIGN QWORD |000000A8:00000000 |MemDword D D |000000AC:0000 |MemWord D W |000000AE:00 |MemByte D B | |ENDPROGRAM t3115
Expected messages t3115.out
I0180 Assembling source file "t3115.htm". I0270 Assembling source "t3115". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t3115". "t3115.htm"{58} I0510 Assembling program pass 1. "t3115.htm"{58} I0510 Assembling program pass 2. "t3115.htm"{58} I0510 Assembling program pass 3. "t3115.htm"{58} I0530 Assembling program pass 4 - final. "t3115.htm"{58} I0660 16bit TINY BIN file "t3115.bin" created, size=175. "t3115.htm"{99} I0650 Program "t3115" assembled in 4 passes with errorlevel 0. "t3115.htm"{99} I0750 Source "t3115" (119 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t3115.htm.lst" created, size=2413. I0990 EuroAssembler terminated with errorlevel 0.

▲Back to the top▲