global main
section .data
A: dd 0
B: dd 0
C: dd 0
fmto: db "%d", 0x0A,0
fmti: db "%d",0
msg1: db "YES",0
section .text
extern printf
extern scanf
extern puts
main:
push dword A
push dword fmti
call scanf
add esp, 8
push dword B
push dword fmti
call scanf
add esp, 8
mov eax, dword [A]
mov ebx, dword [B]
sub eax, ebx
push eax
push fmto
call printf
add esp, 8