diff options
| author | Astrid Smith | 2010-09-13 15:24:06 -0700 |
|---|---|---|
| committer | Astrid Smith | 2010-09-13 15:24:06 -0700 |
| commit | f9b6214d97d987b569bb901decbf6cc39d157224 (patch) | |
| tree | b5a41f4b23f72182c8aca910e1b1f73eea199b1a | |
| parent | cb958c595b99a8e6c1872c00a49744947100a9b6 (diff) | |
Made zexdoc's writestr routine a bit faster
| -rw-r--r-- | testbenches/zexdoc.z80 | 4 |
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,'$'
|
