I need create a program and add two variable and print out of the result of the function: WriteDec and place the result in eax before calling WriteDec.
I wonder if I'm doing right?

; This program adds 32-bit unsigned

INCLUDE Irvine32.inc
val1 DWORD 10000h
val2 DWORD 40000h

finalVal DWORD ?

main PROC
    mov eax,val1        ; start with 10000h
    add eax,val2        ; add 40000h

    mov finalVal,eax    ; store the result 
    call WriteDec       ; Display decimal
    call Crlf           ; new line
main ENDP
END main

Anyone can answer if my code is right?
Thanks for your help