; This simple program simply adds to 32-bit integers together
; and stores the results bac in memory

%include "asm_io.inc"

segment .data	
	itworks		db    "** It works! **",0
	;color_red	db    01Bh,05Bh,033h,031h,06Dh,0
	;color_default   db    01Bh,05Bh,030h,06Dh,0
	

segment .text
	global asm_main
asm_main:
	enter	0,0
	pusha	
	call	print_nl	; print a new line

	;mov	eax, color_red	; switch text color to red
	;call	print_string

	mov 	eax, itworks	; print "It works!"
	call 	print_string	; print "It works!"

	;mov	eax, color_default ; switch text color back to default
	;call	print_string

	call	print_nl	; print a new line
	popa
	mov	eax, 0
	leave
	ret

