assembly
Displaying numbers with DOS
It’s true that DOS doesn’t offer us a function to output a number directly. You’ll have to first convert the number yourself and then have DOS display it using one of the text output functions. Displaying the unsigned 16-bit number held in AX When tackling the problem of converting a number, it helps to see … Read more
Why does C++ code for testing the Collatz conjecture run faster than hand-written assembly?
Answer recommended by Intel
Boot loader doesn’t jump to kernel code
The primary problems with this code were: ES:BX was pointing to the wrong segment:offset to load the kernel into Wrong sector was being loaded so kernel wasn’t what was expected The first one was in this code: mov bx,0x7E00 mov es,bx xor bx,bx The question wants to load the sector from disk to 0x0000:0x7E00(ES:BX). This … Read more