home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
program
/
compiler
/
nasm20b
/
nasm_src
/
demo
/
strtest.s65
< prev
next >
Wrap
Text File
|
1993-01-19
|
538b
|
26 lines
.include #system
.include #stddef
.include #macros
.include #cio
.include #string
_string1 == $F0
_string2 == $F2
_tmp1 == $F4
start:
PRINT 0,"Starting the STRING test",255,@p1+@p3+@s2
STRCPY buf,"Deutscher Meister",@p1+@s2
STRLEN buf
PRINT 0,buf,_tmp1,@p1+@p2+@special
PUTC 0,155,@p1+@p2+@special
STRCAT buf," wird nur der VfL",@p1+@s2+@special
STRLEN buf
PRINT 0,buf,_tmp1,@p1+@p2+@special
PUTC 0,155,@p1+@p2+@special
PRINT 0,"Done"
rts
buf: .ds 128