Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Seconded.

Doing it is basically a hand assembly. One reads the documentation, selects the bytes needed using a processor data sheet, orders them into the various sections, populates the ELF fields and then it really does boil down to typing them all in.

Pre-ELF times, on say an 8 bit Apple 2, the machine code monitor, allowed input of the program bytes directly. Those are then executed.

Storing to disk is only a bit more involved, and there is another opportunity! Disk sector editors allow one to create a file...

...and so it goes!



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: