My Bootloader Does Not Work: Difference between revisions

[unchecked revision][unchecked revision]
(More interlinking)
Line 39:
 
=== The value of SP ends in an 0xF ===
You stole some code off the internet. Shame on you, and I hope you learnt not to use tutorials in the future. The stack should be a multiple of two in real mode (the number of bytes you PUSH and POP each time). Failure to do so makes your code slower - up to 25%!
 
=== The value of SP points to the beginning of the stack in memory ===
1,490

edits