AnsweredAssumed Answered

Is it possible that there is a bug in my Ryzen 5 1500x? Jumps and calls seem to mess things up in real mode.

Question asked by emilsuuri on Jun 15, 2019
Latest reply on Jul 5, 2019 by softprogram

I've been trying to solve a very weird problem with my bootsector that I wrote. The assembly code I wrote is supposed to output characters to the screen using interrupt 0x10.

The code works perfectly on all other x86-based computers that I have around. (It seems to work fine in QEMU, too.)

 

For example, this doesn't work:

mov al, 'g'

mov ah, 0x0e

int 0x10

jmp $ (Jumps to self)

 

But if I add this just before "jmp $", it works perfectly:

cli

hlt


Very frustrating.

Outcomes