summaryrefslogtreecommitdiff
path: root/testbenches/zexdoc.z80
diff options
context:
space:
mode:
authorAstrid Smith2010-09-13 15:24:06 -0700
committerAstrid Smith2010-09-13 15:24:06 -0700
commitf9b6214d97d987b569bb901decbf6cc39d157224 (patch)
treeb5a41f4b23f72182c8aca910e1b1f73eea199b1a /testbenches/zexdoc.z80
parentcb958c595b99a8e6c1872c00a49744947100a9b6 (diff)
Made zexdoc's writestr routine a bit faster
Diffstat (limited to 'testbenches/zexdoc.z80')
-rw-r--r--testbenches/zexdoc.z804
1 files changed, 1 insertions, 3 deletions
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,'$'