|
|
@ -34,6 +34,7 @@ PRTCR: |
|
|
; Print a zero terminated string at (DE) without destroying any registers |
|
|
; Print a zero terminated string at (DE) without destroying any registers |
|
|
; |
|
|
; |
|
|
PRTSTR: |
|
|
PRTSTR: |
|
|
|
|
|
PUSH AF |
|
|
PUSH DE |
|
|
PUSH DE |
|
|
; |
|
|
; |
|
|
PRTSTR1: |
|
|
PRTSTR1: |
|
|
@ -46,6 +47,7 @@ PRTSTR1: |
|
|
; |
|
|
; |
|
|
PRTSTR2: |
|
|
PRTSTR2: |
|
|
POP DE ; restore registers |
|
|
POP DE ; restore registers |
|
|
|
|
|
POP AF |
|
|
RET |
|
|
RET |
|
|
; |
|
|
; |
|
|
; Print the value in A in hex without destroying any registers |
|
|
; Print the value in A in hex without destroying any registers |
|
|
|