This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.code16 # use 16 bits | |
.global main | |
main: | |
mov $0x0002, %ax | |
int $0x10 #set 80x25 text mode | |
mov $0x0700, %ax | |
mov $0x0f, %bh | |
mov $0x184f, %dx |