Blog

by
Asmtut 3: Redundancies
This was originally posted on Google+, which has now been shut down. It was helpfully converted to Markdown by Robert Jacobson after which I adjusted it for reposting here. I have dated it at its original posting date, but it was posted here on 2019-09-07. This time we will automate stuff with the assembler. Step 6: String length In our Hello world-implementation, we used a tedious and error prone mechanism to measure the length of the string: counting by brain. Let's offload that to the comput… Continue reading
Asmtut 2: Hello world!
This was originally posted on Google+, which has now been shut down. It was helpfully converted to Markdown by Robert Jacobson after which I adjusted it for reposting here. I have dated it at its original posting date, but it was posted here on 2019-09-07. Aside: For your convenience, please use a Makefile. To assemble and link, simply execute make. # Please be aware that the indentation must be a tab character (no spaces) all: hello true %: %.o ld -macosx_version_min 10.6 -o $@ -e main $&l… Continue reading
Asmtut 1: true
This was originally posted on Google+, which has now been shut down. It was helpfully converted to Markdown by Robert Jacobson after which I adjusted it for reposting here. I have dated it at its original posting date, but it was posted here on 2019-09-07. In an effort to educate the dunces Knut and Jon who apparently never programmed in assembly, I am going to post a step by step instruction on making a snake game in x86-64/amd64 assembly on a modern operating system. Here. As if this were som… Continue reading