
	.include cpu.inc

	lwt	r1, 50
	lwt	r2, 60

	lw	r3, stack
	rw	r3, STACKP
	lw	r3, nomem_proc
	rw	r3, INTV_NOMEM

	lw	r3, 0b0000000000000001
	ou	r3, 0b0000000000000011
	.word	err, err, ok, err
ok:
	mb	blk
	im	blk

	pf	220

	lwt	r1, 0
	lwt	r2, 0

	tf	220

	hlt	077

err:	hlt	040
blk:	.word	IMASK_NOMEM | 1

nomem_proc:
	hlt	040
stack:

; XPCT rz[6] : 0
; XPCT sr : 0b0100000000000001

; XPCT r1 : 50
; XPCT r2 : 60
; XPCT ir : 0xec3f
