x86 Assembly Hello World Tutorial

Поділитися
Вставка
  • Опубліковано 15 вер 2024
  • An overly verbose tutorial that ultimately leads to nothing more than creating a Hello World program for DOS.
    Made for the hell of it a few months back, a little bit before work on The First Cell began. Some stuff here may be a bit inaccurate as I have learned quite a lot more since then. In particular, it's more ideal to use SI over BX when referring to a location in memory a lot of the time.
    Created on February 10th, 2022
    looks like this was never meant to be taken seriously. like some other videos kugee made, this parodies a recording style from when 240p was the norm. could be kind of useful though!
    on November 14, 2023, Kugee's website, Razorback, shut down, and hundreds of the best retro tech videos vanished with them. He sent me some nvme drives with raw footage and project files so I can preserve his videos in the best format possible. so this is effectively the official archive of Razorback (and kugee's youtube channel)

КОМЕНТАРІ • 2

  • @maxmuster7003
    @maxmuster7003 5 днів тому

    Good work.❤

  • @maxmuster7003
    @maxmuster7003 5 днів тому

    For "tiny" executable i like to use debug. Inside debug we can use the "a" command to start the assemble mode. It starts with the next free segment+offset address in memory. But we can’t use a label and we have to use the offset address to get a pointer of a memory location or an address for a jump instruction. With debug we can make com files, but not exe files and the file size of a com file is limited to 64kb. The com file starts with DS=CS=ES=SS.
    But we can get more memory(4kb at minimum) from DOS if we give all the unused memory back to DOS that we got from DOS in the beginning. So we start with all free memory, but we don’t know which memory segment is reserved or free to use. So at first we have to get all not used memory back to DOS to get free memory from DOS.