/asm/boot/c/loader.asm

http://github.com/dennis-gemini/tests · Assembly · 10 lines · 7 code · 3 blank · 0 comment · 0 complexity · ac2df6186e8d8549c937868f29220e9a MD5 · raw file

  1. org 0100h
  2. mov ax, 0B800h
  3. mov gs, ax
  4. mov ah, 0Fh ; 0000: ºÚµ× 1111: °××Ö
  5. mov al, 'L'
  6. mov [gs:((80 * 0 + 39) * 2)], ax ; ÆÁÄ»µÚ 0 ÐÐ, µÚ 39 ÁС£
  7. jmp $ ; Start