mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 06:31:31 +00:00
15 lines
282 B
ArmAsm
15 lines
282 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
|