;;Projectcalc.ASM

	.MODEL SMALL
	.586
	.STACK 100h
INCLUDE PCMAC.INC

	.DATA
Prompt	DB	"For help, type ?", 13, 10, "$"


	.CODE
EXTRN PutDec : NEAR

CALC	PROC
	
	mov	ax, @data
	mov ds, ax
	
	push 10
	push 20

	;IF +
	CALL ADD

	;IF -
	;CALL SUB
	
	_exit 0

CALC	ENDP
	

ADD	PROC

	pop ax
	pop bx
	
	add ax,bx

	Call putDec


ADD	ENDP

SUB



SUB	ENDP

	END CALC



