From f313ab814fe1221f8ad72ccab9e7615a5ed0d4dc Mon Sep 17 00:00:00 2001 From: Duncan Smith Date: Mon, 13 Sep 2010 15:24:06 -0700 Subject: Made zexdoc's writestr routine a bit faster --- testbenches/zexdoc.z80 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'testbenches/zexdoc.z80') diff --git a/testbenches/zexdoc.z80 b/testbenches/zexdoc.z80 index da8b443..eda26dd 100644 --- a/testbenches/zexdoc.z80 +++ b/testbenches/zexdoc.z80 @@ -1181,9 +1181,8 @@ writechar: out (000h),a ret - ;; Print the string in (DE), terminated by '$' (024h) + ;; Print the string in (DE), terminated by '$' (24h) writestr: - push de push af push bc ld c,'$' @@ -1195,7 +1194,6 @@ writestr_loop: jp nz,writestr_loop pop bc pop af - pop de ret msg1: .db 'Z80 instruction exerciser',10,13,'$' -- cgit v1.2.3