Interrupt 10h not working
问题 I am getting segmentation fault in the program below. This is for set the cursor on the top-left of the screen. But why i am getting segmentation fault on this program? Thanks for the replies. section .text global main main: mov ah, 2 mov bh, 1 mov dh, 0 mov dl, 0 int 10h I think that the problem is the protected mode that i am working. This is an 16-bit instruction and i am trying this in a 32-bit machine! Am i correct? I am running this program in a Linux Ubuntu distribution 32-bits. THe