News for hackers. Stuff that matters.
Re:x86-64 Assembly Language Programming with Ubuntu by wilsonnb3 on Friday August 31, 2018 @12:28PM (#17886859)
The IF/ELSE stuff is similar to the preprocessor macros people write in C. They basically generate HLASM code on the fly based on certain flags being passed to the program and what not.

If you're curious what a simple program ends up looking like, I've got one I wrote that copies the contents of one file into another file up on GitLab. Lots of loading registers and what not.

https://gitlab.com/thisisnickwilson/zos/blob/master/IO

Re:x86-64 Assembly Language Programming with Ubuntu by __sdegutis on Friday August 31, 2018 @12:44PM (#17886987)
Thanks, this is pretty interesting to read through, and your comments are very helpful. I didn't realize this language has no comment syntax, but I guess it makes sense since each opcode probably has a fixed number of parameters and anything after that can be safely assumed to be comments. Neat stuff.