;you are required to complete the necessary elements of the program for MASM and LINK
;remember all numbers in hex
;load into DEBUG and trace the program

;*** MAIN PROGRAM START HERE
	mov ax,1122
;check at this point the values of the above registers
;check and record the values of segment registers
;check and record the values of index/pointer registers
;check the content of the stack - remember to check out SS

	call sub1
;check the values of AX, IP, SP and content of stack

	mov bx,3344
	call sub2
;check the values of BX, IP, SP and content of stack

;*** SUBROUTINE SUB1
;check the values of AX, IP, SP and content of stack
	mov cx,5566
	call sub3
;check the values of CX, IP, SP and content of stack
	ret


;*** SUBROUTINE SUB2
;check the values of BX, IP, SP and content of stack
	mov bx,0ffee
	ret

;*** SUBROUTINE SUB3
;check the values of CX, IP, SP and content of stack
	push cx
 	mov cx,0ddcc
	pop cx
	ret
