mov eax , cr0
or eax , 0x01
mov cr0 , eax



back to months list

Project : The 16-bit Computer

Journal Entry Date : 2025.02.13

It's been a decade since I touched this project. I'm back! I just want to print "Hello, world!" in my computer for fun, but to do that I have to implement a bunch of features..

To print "Hello, world" in my computer, we only need two things: the ability to read data from ROM, and the ability to print text. Latter one is quite easy to implement, as Logisim Evolution

  1. We need to create an instruction that reads data from ROM, as the program and program data all exist inside the ROM, not RAM.
  2. We need to implement the assembly syntax for storing string in the program. Ideally, we can implement something like "db" in NASM.
  3. We finally need to wire the TTY device to the computer's IO port. (This is not going to be that hard compared to the previous steps.)