Приветик, тут лабы с практики по DOS-у, aka Линукс без тормозов, aka обратно в девяностые.
Полезные ссылки
http://spike.scu.edu.au/~barry/interrupts.html#ah01 - Документация по int 21h.
https://www.cs.uaf.edu/courses/cs301/2014-fall/notes/memory/ - Немного про db-шчки, чтобы хоть как-то выделять память.
https://docs.oracle.com/cd/E19455-01/806-3773/6jct9o0ak/index.html - Документация про флаги
https://av-assembler.ru/asm/afd/asm-flags-register.htm - еще флаги