Tumgik
#maybe itll win me over with its addressing modes or something
piratesexmachine420 · 1 month
Text
Tumblr media Tumblr media
If you told me this was how TI-83 binaries were structured, I would have straight up thought you were lying. JIT assembled from plaintext hex opcodes?--that can't be true. Maybe TI put that in the manual as a practical joke and nobody noticed.
...
...
...
Tumblr media Tumblr media Tumblr media
Look at this stupid-ass hexdump. Every fucking byte of this file from 0x004B to 0x13C0 is either '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', or 'F'.
This program is anti-compressed. Every byte of machine code is encoded as two bytes of plaintext characters.
Why would you ever do that. Why would you want your executable to stored as plaintext hex digits. It's certainly not for ease-of-editing--the file-initial "AsmPrgm" token (BBh 6Ch) prevents you from opening the file in the onboard editor--and it's definitely not for program integrity checking either. So why on Earth did TI think this was the move to make?
Baffling and upsetting. Thank god the execution model permits self-modifying and self-extracting compressed programs.
94 notes · View notes