Update 2024-07-27-sys-write-string.md
This commit is contained in:
parent
62a706945a
commit
ad208d8f2e
@ -4,7 +4,6 @@ author: "0x3bb"
|
|||||||
date: M07-27-2024
|
date: M07-27-2024
|
||||||
---
|
---
|
||||||
|
|
||||||
## context
|
|
||||||
I'm reading a book on x86-64 NASM.
|
I'm reading a book on x86-64 NASM.
|
||||||
|
|
||||||
One of the exercises involves printing a string to stdout by leveraging a Linux syscall called `sys_write`, but doesn't mention the reasoning behind the `mov` instructions into the registers or how they're used once you make the syscall.
|
One of the exercises involves printing a string to stdout by leveraging a Linux syscall called `sys_write`, but doesn't mention the reasoning behind the `mov` instructions into the registers or how they're used once you make the syscall.
|
||||||
|
Loading…
Reference in New Issue
Block a user