simple problem
Posted: Sun Feb 15, 2004 5:04 am
in the following code i'm trying to jump to realmode label.but bochs quits with following message
here is buggy code
please tell me whats causing problem and how to remove it as i'm not so good in asm.
Code: Select all
>>PANIC<< iret: return CS selector null
Code: Select all
.
.
.
lea eax,[realmode]
push eax
pop ebx
mov [offset1],ebx
jmp SYS_CODE_SEL:offset1
hlt
realmode:
.
.
.
offset1:
dd 0
Code: Select all