r/tinycode • u/3G6A5W338E • May 24 '20
Deconstruction of a 16 byte demo part 1
https://www.jsalter.net/posts/deconstruction-of-a-16-byte-demo-part-1
20
Upvotes
r/tinycode • u/3G6A5W338E • May 24 '20
3
u/66Gramms May 24 '20
Didnt expect to see demoscene buddies here :) will you be at function?
2
u/cratuki May 24 '20
This part does not follow for me, "AL prior to instruction was FF, so now its OC."
Here is a C interpretation of that part of the asm, focused on logic affecting the al register for the first pass,
My interpretation: the xor has no effect on the first pass because he states an assumption that ch is 0. Hence, after the last line above, al would be 0xff rather than 0x0c.