mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
15 lines
285 B
ArmAsm
15 lines
285 B
ArmAsm
;
|
|
; 2020-05-02, Greg King
|
|
;
|
|
; void __randomize (void);
|
|
; /* Initialize the random number generator */
|
|
;
|
|
|
|
.export ___randomize
|
|
|
|
.import ENTROPY_GET, _srand
|
|
|
|
___randomize:
|
|
jsr ENTROPY_GET
|
|
jmp _srand ; Initialize generator
|