Aglang devlog #4
it was the comments IT HAD ALWAYS BEEN THE COMMENTS
i think im about to go crazy, cuz im trying to manually write assembly to know that the compiler should write, and trying the basic alphabet loop i couldnt get it to work, no matter what it was always printing ▒.
i tried everything, i even managed to get SATAN ITSELF to write my output (check attached image)… but finally… i tried deleting the comments i put with the original aglang line… and it worked.
i found out that the stdout token in aglang (“\”, i even have to write it twice here in the post because stardance has the same problem lmao) was making nasm think that i was trying to escape the newline after the comment, thus making the next assembly line part of the comment.
as you can see from the logged time it literally took over 2 hours of my life because of a single backslash.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.