diff options
| author | Duncan Smith | 2010-09-13 15:24:06 -0700 |
|---|---|---|
| committer | Duncan Smith | 2010-09-13 15:24:06 -0700 |
| commit | f313ab814fe1221f8ad72ccab9e7615a5ed0d4dc (patch) | |
| tree | 571b0f21da86ec4f193a11c99c11d287e83d51c4 /testbenches/zexdoc.z80 | |
| parent | c53f7920baeb25cb55e38fe94a04179afce00f40 (diff) | |
Made zexdoc's writestr routine a bit faster
Diffstat (limited to 'testbenches/zexdoc.z80')
| -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,'$'
|
