4
Pointer
8y

section .data
msg: db "ASM, Love Or Hate?",10
msglen: equ $-msg

GLOBAL _start

_start:
mov rdx, [msg]
mov rdi, msglen
call print_stdout
mov rax, 0x3c
mov rdi, 0
syscall

print_stdout:
mov rax, SYS_WRITE
mov rdi, STDOUT
syscall
ret

Comments
  • 1
    haven't touched assembly in 8 months, should get a checkup soon
  • 1
    @Trejak I've been absent of assembly since last semester. It was cool learning it though
  • 1
    @apex I learned it for a course and I was looking forward to it since I started university. It wasn't a let down.
  • 1
    @Trejak I also learned it for a subject on my university. Even though I learned x64 by myself, the teacher was giving us Intel 80x86 ASM, that, even if it helps settle the ground for a complete understanding of how memory and processor works, it's a bit outdated (unless you're hacking your way through an old computer 😎)
  • 0
Add Comment