memmove, memcpy, memset and bzero now return dest ptr as they should
git-svn-id: svn://svn.cc65.org/cc65/trunk@1815 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -34,8 +34,12 @@ _memset:
|
||||
sta r2L
|
||||
common: jsr popax
|
||||
sta r1L
|
||||
pha
|
||||
stx r1H
|
||||
txa
|
||||
pha
|
||||
jsr FillRam
|
||||
lda r1L ; restore ptr and pass as result
|
||||
ldx r1H
|
||||
pla ; restore ptr and return it
|
||||
tax
|
||||
pla
|
||||
rts
|
||||
|
||||
Reference in New Issue
Block a user