diff --git a/boot1.s b/boot1.s index 85d3a2b..a9a7f74 100644 --- a/boot1.s +++ b/boot1.s @@ -1,11 +1,10 @@ -org 0x7c00 -bits 16 +org 0x8200 +bits 16 ; Reveal the true nature of jen xor bx, bx - mov ax, 17 loop: - cmp bx, ax + cmp bx, WOMBLE_LEN jae done lea si, [womble + bx] mov dh, [si] @@ -18,6 +17,5 @@ loop: done: hlt -womble: - db "jen is a womble!" - +womble db "jen is a womble!" +WOMBLE_LEN equ $ - womble