0
section .data
    msg db     "hi"

section .text
    global _start
_start:
    lea rbx, msg
    mov     rax, 1
    mov     rdi, 1
    mov     rsi, [rbx]
    mov     rdx, 2
    syscall

    mov    rax, 60
    mov    rdi, 0
    syscall

this 64 bit linux assembly code.. help me..

(nasm)

JFMR
  • 23,265
  • 4
  • 52
  • 76

0 Answers0