mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
Fixed two more function that didn't clear the high byte of the function result.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4049 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
4c4071b34a
commit
23dae5a04b
@ -10,7 +10,8 @@
|
||||
_cbm_k_chkin:
|
||||
tax
|
||||
jsr CHKIN
|
||||
ldx #0 ; Clear high byte
|
||||
bcs @NotOk
|
||||
lda #0
|
||||
txa
|
||||
@NotOk: rts
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
_cbm_k_ckout:
|
||||
tax
|
||||
jsr CKOUT
|
||||
ldx #0 ; Clear high byte
|
||||
bcs @NotOk
|
||||
lda #0
|
||||
txa
|
||||
@NotOk: rts
|
||||
|
Loading…
Reference in New Issue
Block a user