; Basic fasm Answers
; ==================
; 
; Notes:
; The program at the bottom of the page is the fixed one
; 
; Fix Programs
; ------------
;
; Magic numbej
; @@@@@@@@@@@@
; 
; 0.    Try to assemble and find out the assembly error message.
;
; 1.    Fix the code to make the assembly process succeed.
;
; 2.    Run the program. Make sure that the program behaves correctly.
;

format PE console
entry start

include 'win32a.inc' 

; ===============================================
section '.text' code readable executable

start:
    ; The program begins here:

    call    read_hex    ; Read input.
    add     eax,100h    ; Add 100 hex to the input.

    ; Output the result:
    call    print_eax   

    ; Exit the process:
	push	0
	call	[ExitProcess]

include 'training.inc'
