video thumbnail 25:41
Compiling C to printable x86, to make an executable research paper

2017-03-31

[public] 233K views, 18.1K likes, 93.0 dislikes audio only

channel thumbsuckerpinch

In this oddly paced "educational" video, I explain how I created a paper for SIGBOVIK 2017 that consists of only printable ASCII bytes, but is also a valid DOS executable. This involves making a C compiler that targets the printable subset of x86 (without using self-modifying code), and just barely scraping out solutions to some tricky puzzles that arise due to the constraints. The final result is functionality that is oh so very important, however!

Download the paper/program and source code: http://tom7.org/abc/

SIGBOVIK: http://sigbovik.org/

All Tom thingies: http://tom7.org/


Intro
/youtube/video/LA_DrBwkiJA?t=0
ASCII File
/youtube/video/LA_DrBwkiJA?t=50
Puzzle I OR operator
/youtube/video/LA_DrBwkiJA?t=455
Puzzle II Loading a value into a register
/youtube/video/LA_DrBwkiJA?t=672
Puzzle III Jumping backward
/youtube/video/LA_DrBwkiJA?t=925
Puzzle IV Input/Output
/youtube/video/LA_DrBwkiJA?t=1168