问题
I am writing a bootloader in assembly (NASM instruction set), but for some reason it doesn't show any letter.
[BITS 16]
[ORG 0x7C00]
JMP $
MOV AL, 0x65
MOV AH, 0x0E
MOV BL, 0x07
MOV BH, 0x00
INT 0x10
TIMES 510 - ($ - $$) db 0
DW 0xAA55
All I see is the _ cursor.
回答1:
JMP $
Jumps to itself. Removing it will let the other code run
来源:https://stackoverflow.com/questions/38085205/print-ascii-character-on-screen