mirror of https://github.com/nmlgc/ReC98.git
19 lines
249 B
NASM
19 lines
249 B
NASM
|
; void randring_fill(void)
|
||
|
public _randring_fill
|
||
|
_randring_fill proc near
|
||
|
push bp
|
||
|
mov bp, sp
|
||
|
push si
|
||
|
xor si, si
|
||
|
|
||
|
@@loop:
|
||
|
call IRand
|
||
|
mov _randring[si], al
|
||
|
inc si
|
||
|
cmp si, RANDRING_SIZE
|
||
|
jl short @@loop
|
||
|
pop si
|
||
|
pop bp
|
||
|
ret
|
||
|
_randring_fill endp
|