summaryrefslogtreecommitdiff
path: root/miniasm/test9.asm
blob: aac381841d6fcf19930aa1a61c56dc8751eff523 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; test8 - subroutines, saving registers to the stack

begin:
	mov A, 7
	mov B, 8
	mov ax, A
	mov bx, B
	add ax, bx
end:
	hlt

A:
B: