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/14 14:24:00 arnim Exp $
	;;
	;; Checks the SKE instruction.
	;;

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

	org	0x00
	clra

	;; test 0 == 0
	x	0x0
	clra
	ske
	jmp	fail

	;; test 5 == 5
	clra
	aisc	0x5
	x	0x0
	ld	0x0
	ske
	jmp	fail

	;; test a == a
	clra
	aisc	0xa
	x	0x0
	ld	0x0
	ske
	jmp	fail

	;; test f == f
	clra
	aisc	0xf
	x	0x0
	ld	0x0
	ske
	jmp	fail

	;; test 0 == f
	clra
	ske
	jmp	ok_0_ne_f
	jmp	fail

ok_0_ne_f:
	;; test f == 0
	x	0x0
	ske
	jmp	ok_f_ne_0
	jmp	fail

ok_f_ne_0:
	jmp	pass


	org	0x100
	include	"pass_fail.asm"
@


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