.code16gcc .org 0x7c00 cli mov $0xB800, %bx .tmp: mov %bx, %es movw $0x4E66, %es:($0x0) addw $0x2, %bx cmp %bx, 0xB900 jz .end jmp .tmp .end: hlt