mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
21 lines
289 B
ArmAsm
21 lines
289 B
ArmAsm
|
|
||
|
;
|
||
|
; Maciej 'YTM/Alliance' Witkowiak
|
||
|
;
|
||
|
; 22.12.99
|
||
|
|
||
|
; int CRC (char *memory, int length);
|
||
|
|
||
|
.import DoublePop
|
||
|
.export _CRC
|
||
|
|
||
|
.include "../inc/jumptab.inc"
|
||
|
.include "../inc/geossym.inc"
|
||
|
|
||
|
_CRC:
|
||
|
jsr DoublePop
|
||
|
jsr CRC
|
||
|
lda r2L
|
||
|
ldx r2H
|
||
|
rts
|
||
|
|