Customality
Customality

Reputation: 33

Print ascii character on screen

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.

Upvotes: 0

Views: 378

Answers (1)

Customality
Customality

Reputation: 33

JMP $

Jumps to itself. Removing it will let the other code run

Upvotes: 3

Related Questions