Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Assembly programming

Name: Anonymous 2011-11-02 14:44

[code]
get_random_number:
    mov rax[seed]
    mov rcx, rax
    shl rax, 1
    inc rcx
    mov rdx, rax
    xor rax, rcx
    mov rcx, rdx
    mov rdi, 9
    shr rax, 2
    mov [seed], rax
    mov rax, rcx
    xor rax, rdx
    xor rax, rdi
    ret

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List