head	1.1;
branch	1.1.1;
access;
symbols
	rel_1_1:1.1.1.1
	rel_1_0:1.1.1.1
	rel_0_1_beta:1.1.1.1
	LOC_CVS_0_1:1.1.1.1
	LOC_CVS:1.1.1;
locks; strict;
comment	@;; @;


1.1
date	2006.05.06.01.56.45;	author arniml;	state Exp;
branches
	1.1.1.1;
next	;
commitid	7cbf445c02434567;

1.1.1.1
date	2006.05.06.01.56.45;	author arniml;	state Exp;
branches;
next	;
commitid	7cbf445c02434567;


desc
@@



1.1
log
@Initial revision
@
text
@	;; *******************************************************************
	;; $Id: test.asm,v 1.1 2006/04/29 23:09:30 arnim Exp $
	;;
	;; Checks the SKGMZ instruction.
	;;

	;; the cpu type is defined on asl's command line

	org	0x00
	clra

	;; preload two ram digits with test data
	lbi	0, 0
	stii	0x5
	lbi	0, 9
	stii	0xa

	;; check SKBMZs on 0x5
	lbi	0, 0
	skmbz	0
	jp	ok_5_0
	jmp	fail
ok_5_0:
	skmbz	1
	jmp	fail
	skmbz	2
	jp	ok_5_2
	jmp	fail
ok_5_2:
	skmbz	3
	jmp	fail

	;; check SKMBZ on 0xa
	lbi	0, 9
	skmbz	0
	jmp	fail
	skmbz	1
	jp	ok_a_1
	jmp	fail
ok_a_1:
	skmbz	2
	jmp	fail
	skmbz	3
	jp	ok_a_3
	jmp	fail
ok_a_3:

	jmp	pass

	org	0x100
	include	"pass_fail.asm"
@


1.1.1.1
log
@import from local CVS repository, LOC_CVS_0_1
@
text
@@
