1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-02 19:42:23 +00:00
cc65/libsrc/geos-common/memory/crc.s
2022-04-16 19:51:48 +02:00

20 lines
312 B
ArmAsm

;
; Maciej 'YTM/Alliance' Witkowiak
;
; 22.12.99
; int CRC (char *memory, int length);
.import DoublePop
.export _CRC
.include "jumptab.inc"
.include "geossym.inc"
_CRC:
jsr DoublePop
jsr CRC
lda r2L
ldx r2H
rts