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

# Test t3204: Machine instructions XADD

Tested procedures
  IigXADD

Source & expected listing t3204.htm.lst
  `| | EUROASM LIST=ON, DUMP=ON, DUMPWIDTH=30, CPU=X64 | |t3204 PROGRAM FORMAT=BIN,LISTMAP=OFF,LISTGLOBALS=OFF | |;; |[Mode16] |[Mode16] SEGMENT WIDTH=16,PURPOSE=CODE |0000:0FC0D1 | XADD CL,DL |0003:0FC0F5 | XADD CH,DH |0006:0FC1D1 | XADD CX,DX |0009:660FC1D1 | XADD ECX,EDX |000D:0FC015 | XADD [DI],DL |0010:0FC115 | XADD [DI],DX |0013:660FC115 | XADD [DI],EDX |0017:0FC016[7600] | XADD [MemByte],DL |001C:0FC116[7400] | XADD [MemWord],DX |0021:660FC116[7000] | XADD [MemDword],EDX | |;; |[Mode32] |[Mode32] SEGMENT WIDTH=32,PURPOSE=CODE |00000000:0FC0D1 | XADD CL,DL |00000003:0FC0F5 | XADD CH,DH |00000006:660FC1D1 | XADD CX,DX |0000000A:0FC1D1 | XADD ECX,EDX |0000000D:0FC017 | XADD [EDI],DL |00000010:660FC117 | XADD [EDI],DX |00000014:0FC117 | XADD [EDI],EDX |00000017:0FC015[76000000] | XADD [MemByte],DL |0000001E:660FC115[74000000] | XADD [MemWord],DX |00000026:0FC115[70000000] | XADD [MemDword],EDX | |;; |[Mode64] |[Mode64] SEGMENT WIDTH=64,PURPOSE=CODE |00000000:0FC0D1 | XADD CL,DL |00000003:0FC0F5 | XADD CH,DH |00000006:400FC0F5 | XADD BPL,SIL |0000000A:660FC1D1 | XADD CX,DX |0000000E:66450FC1D1 | XADD R9W,R10W |00000013:0FC1D1 | XADD ECX,EDX |00000016:450FC1D1 | XADD R9D,R10D |0000001A:480FC1D1 | XADD RCX,RDX |0000001E:4D0FC1D1 | XADD R9,R10 |00000022:0FC017 | XADD [RDI],DL |00000025:0FC037 | XADD [RDI],DH |00000028:400FC037 | XADD [RDI],SIL |0000002C:660FC117 | XADD [RDI],DX |00000030:66440FC117 | XADD [RDI],R10W |00000035:0FC117 | XADD [RDI],EDX |00000038:440FC10F | XADD [RDI],R9D |0000003C:480FC117 | XADD [RDI],RDX |00000040:4C0FC10F | XADD [RDI],R9 |00000044:0FC0152B000000 | XADD [MemByte],DL |0000004B:660FC11521000000 | XADD [MemWord],DX |00000053:0FC11516000000 | XADD [MemDword],EDX |0000005A:480FC11506000000 | XADD [MemQword],RDX |00000062:660F1F442000 | ALIGN QWORD |00000068:0000000000000000 |MemQword DQ Q |00000070:00000000 |MemDword DD D |00000074:0000 |MemWord DW W |00000076:00 |MemByte DB B | | ENDPROGRAM t3204`

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

▲Back to the top▲