Real mode assembly I: Difference between revisions
→So where's the code?: Fix some poor assembly
[unchecked revision] | [unchecked revision] |
(Added "use16" line. Fixed segments, so memory below the bootloader can be used) |
(→So where's the code?: Fix some poor assembly) |
||
Line 27:
<source lang="asm">
org 0x7C00 ; add 0x7C00 to label addresses
mov ax, 0 ; set up segments
Line 33:
mov es, ax
mov ss, ax ; setup stack
mov sp,
mov si, welcome
|