Answers for "64 bit assembly"

0

64 bit assembly tutorial

bits 64
default rel

segment .data
    msg db "Hello world!", 0xd, 0xa, 0

segment .text
global main
extern ExitProcess

extern printf

main:
    push    rbp
    mov     rbp, rsp
    sub     rsp, 32

    lea     rcx, [msg]
    call    printf

    xor     rax, rax
    call    ExitProcess
Posted by: Guest on February-10-2021

Code answers related to "Assembly"

Browse Popular Code Answers by Language