; 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        SDWORD 334
B        SDWORD 745

         .DATA?
X        SDWORD ?
inbuf    DB    100 DUP (?)

         .CODE
Start:
         mov   EAX, A
         cmp   EAX, B      ; сравнение A и B
         jl    LESS        ; переход по меньше
         mov   X, EAX
         jmp   short CONTINUE  ;  переход на конец ветвления
LESS:    mov   EAX, B
         mov   X, EAX
CONTINUE:
         XOR    EAX,EAX
         Invoke StdOut,ADDR MsgExit
         Invoke StdIn,ADDR inbuf,LengthOf inbuf		
	
         Invoke ExitProcess,0
         End    Start

