Re:Linux Assembly How To: “Hello, World”
by bobbo_ on Wednesday August 12, 2015 @07:11PM
(#10051368)
I tried out using x86_64 Linux assembly by writing a simple TCP echo server [1] after reading about the modern HTTP server in 64bit assembly [2]. Turned out to be not too much more involved than writing the equivalent in C, though very much at the cost of readability and development time.
There appeared to be relatively few examples of modern (well, 64 bit) Linux assembly out there, though quite a few relatively out of date documents like the one posted; documentation like the 64bit Linux System Call table were exceptionally useful [3].
There appeared to be relatively few examples of modern (well, 64 bit) Linux assembly out there, though quite a few relatively out of date documents like the one posted; documentation like the 64bit Linux System Call table were exceptionally useful [3].
[1] https://gist.github.com/bobbo/e1e980262f2ddc8db3b8
[2] https://news.ycombinator.com/item?id=9948749
[3] http://blog.rchapman.org/post/36801038863/linux-system-call-...