1
0

boot_sect_hello.asm 261 B

12345678910111213141516
  1. mov ah, 0x0e ; tty mode
  2. mov al, 'H'
  3. int 0x10
  4. mov al, 'e'
  5. int 0x10
  6. mov al, 'l'
  7. int 0x10
  8. int 0x10 ; 'l' is still on al, remember?
  9. mov al, 'o'
  10. int 0x10
  11. jmp $ ; jump to current address = infinite loop
  12. ; padding and magic number
  13. times 510 - ($-$$) db 0
  14. dw 0xaa55