mirror of
https://github.com/cc65/cc65.git
synced 2024-12-30 20:29:25 +00:00
2a57280a11
git-svn-id: svn://svn.cc65.org/cc65/trunk@848 b7a2c559-68d2-44c3-8de9-860c34a00d81
22 lines
342 B
ArmAsm
22 lines
342 B
ArmAsm
;
|
|
; void* memset (void* ptr, int c, size_t n);
|
|
;
|
|
; Maciej 'YTM/Elysium' Witkowiak, 15.07.2001
|
|
;
|
|
|
|
.export _memset
|
|
.import popa, popax
|
|
|
|
.include "../inc/jumptab.inc"
|
|
.include "../inc/geossym.inc"
|
|
|
|
_memset:
|
|
sta r0L
|
|
stx r0H
|
|
jsr popax
|
|
sta r2L
|
|
jsr popax
|
|
sta r1L
|
|
stx r1H
|
|
jmp FillRam
|