1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-09 04:08:11 +00:00
cc65/libsrc/geos/memory/clearram.s
izydorst 78908d8421 removed redundant code; memset == FillRam, bzero == ClearRam with proper return values
git-svn-id: svn://svn.cc65.org/cc65/trunk@2376 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-19 22:56:55 +00:00

26 lines
345 B
ArmAsm

;
; Maciej 'YTM/Elysium' Witkowiak
;
; 30.10.99, 20.08.2003
; void * ClearRam (char *dest, int length);
.import DoublePop
.export _ClearRam
.include "../inc/jumptab.inc"
.include "../inc/geossym.inc"
_ClearRam:
jsr DoublePop
pha
txa
pha
jsr ClearRam
pla
tax
pla
rts