3 ms·
The 8080 is a simple processor, the "how to program" manual is only 60 pages. Most of the instructions are changing registers in various ways, which is pretty
by bombcar 3y ago
The 8080 is a simple processor, the "how to program" manual is only 60 pages.
Most of the instructions are changing registers in various ways, which is pretty simple. The Appendix A has all of them: https://altairclone.com/downloads/manuals/8080%20Programmers%20Manual.pdf https://altairclone.com/downloads/manuals/8080%20Programmers...
- tromp 3y agoI am more amazed you can fit a (pretty large subset of) Haskell compiler/runtime in about twice the size [1]. [1] https://www.ioccc.org/2019/lynn/hint.html https://www.ioccc.org/2019/lynn/hint.html
- anthk 3y agoWell, an a complete lisp system on that size, for sure. And forth environment.
- ngcc_hk 3y agoExample? I meant under 8080. Seems to have sector size using x86?
- anthk 3y agoThe former meant under x86, and that's easy even for IOCCC.With awk you can write an RPN calculator in 10 lines or such...
- anthk 3y agoI found a Forth for x86 under the IOCCC contest of 1992: the Buzzward.2 entry. https://www.ioccc.org/1992/1992.tar.bz2 https://www.ioccc.org/1992/1992.tar.bz2 You need to edit the CFLAGS (or just comment that line), and by using gcc or even tcc will work fine.
- none_to_remain 3y agoI went too far and ran into the printed hexadecimal-decimal lookup table for every number from 0x0-0xFFF
- dekhn 3y agoah yes, I had that poster on my wall as a kid... https://twitter.com/JBrooksBSI/status/952291667041599488/photo/1 https://twitter.com/JBrooksBSI/status/952291667041599488/pho...
- bombcar 3y agoNow I'm having fond memories of discovering the IBM box drawing characters above 128 as a kid, and doing fancy text files.