head	1.1;
access;
symbols
	hpc16_20061024:1.1;
locks; strict;
comment	@# @;


1.1
date	2005.09.29.20.54.50;	author umairsiddiqui;	state Exp;
branches;
next	;
commitid	73a5433c54734567;


desc
@@


1.1
log
@added new testbench
@
text
@################################
## this program test:
## mov, li and hlt instructions
################################
0:li r0, 5555h
4:mov r1, r0
6:mov sp, r1
8:mov r5, sp
10:hlt

################################
## binary conversion
################################
#
#li r0, 5555h
0:01001_001_0000_0000
2:0101_0101_0101_0101

#mov r1, r0
4:00000_001_0001_0000

#mov sp, r1
6:00000_010_0000_0001

#mov r5, sp
8:00000_100_0101_0000

#hlt
10:11111_000_0000_0000@
