; Template for console application
      .586
      .MODEL  flat, stdcall
      OPTION CASEMAP:NONE

Include kernel32.inc
Include masm32.inc

IncludeLib kernel32.lib
IncludeLib masm32.lib

      .CONST
MsgExit   DB    "Press Enter to Exit",0AH,0DH,0

	  .DATA
A     QWORD  -10
B     QWORD  23

      .DATA?
D     QWORD  ?
inbuf DB    ?

      .CODE
Start:
      mov   EAX,dword ptr A
      add   EAX,dword ptr B
      mov   dword ptr D,EAX
      mov   EAX,dword ptr A+4
      adc   EAX,dword ptr B+4
      mov   dword ptr D+4,EAX      
      		
	
      Invoke StdOut,ADDR MsgExit  ; вызов процедуры вывода
	  Invoke StdIn,ADDR inbuf,LengthOf inbuf
	  
      Invoke ExitProcess,0
      End    Start