diff options
author | Leo C | 2018-11-29 20:16:37 +0100 |
---|---|---|
committer | Leo C | 2018-11-29 20:16:37 +0100 |
commit | a768c06283f4f92177fbeea7c1da0dcb83a165f1 (patch) | |
tree | 60704193777ab78e5a6296c9c3d43e2fafdfebdc | |
parent | f33961b549672c23d768bdfe2c2880db9a58ff6e (diff) | |
download | ddt180-a768c06283f4f92177fbeea7c1da0dcb83a165f1.zip |
bp_get_condition: eliminate expr_p2
-rw-r--r-- | ddt180.z80 | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -1780,20 +1780,19 @@ bp_get_condition: ld de,expr_bufe
call cp_hl_de
jr nc,error12
- pop hl
- ld (expr_p2),hl
- pop de
- ex de,hl
+ pop de
+ pop hl
+ push de
ldir
- xor a
- ld (de),a
- inc de
ex de,hl
+ ld (hl),c ; trailing 0
+ inc hl
ld (expr_p1),hl
- ld hl,(expr_p2)
+ pop hl
ret
;-------------------------------------------------------------------------------
+; Breakpoint handling routine.
bpddtz:
ld (reg.l),hl
|