Error while creating a bootable floppy that contains a bootloader and a kernel
问题 I'm trying to create a bootable floppy drive for my boot.bin and kernel.bin files. My boot.asm code is: bits 16 section .text start: JMP MAIN WAIT_FOR_KEY: MOV AH, 00H INT 16H RET CLEAR: MOV AH, 0H ;CHANGING THE VIDEO MODE TO CLEAR THE SCREEN MOV AL, 03H ;VIDEO MODE COD INT 10H RET LOG_TO_HTS: PUSH BX PUSH AX MOV BX, AX MOV DX, 0 DIV WORD[ALL_SECTORS] ADD DL, 01H MOV CL, DL MOV AX, BX MOV DX, 0 DIV WORD [ALL_SECTORS] MOV DX, 0 DIV WORD[FACES] MOV DH, DL MOV CH, AL POP AX POP BX MOV DL, BYTE