command line args and code golf | SCHIZONE EP-03
xmdi
Third video in a series on scientific computing from scratch using x86-64 assembly. This video describes using command line arguments.
TYPO: The input to file_delete is a path, not a file descriptor. I used it correctly but accidentally put the wrong description in the assembly comments.
discord: https://discord.gg/8MERkmMc code: https://github.com/xmdi/SCHIZONE3 good resources:
freebsd forum post about why they violate the Sys-V ABI: https://forums.freebsd.org/threads/stack-alignment-argc-location-in-assembled-binaries.89302/
old draft of System-V ABI:https://refspecs.linuxbase.org/elf/x86_64-abi-0.99.pdf
x86-64 instruction encoding: https://wiki.osdev.org/X86-64_Instruction_Encoding ... https://www.youtube.com/watch?v=zX0bcOVGjow
101502479 Bytes