Nasm Question
Posted: Thu Jun 27, 2002 11:00 pm
Hi, my kernel that gets loaded by grub and should have information pased to it. like memory, video modes etc.
But i need to extract the first 32bits, the flags, into a variable to test what was included in the information and i don't know how to _just_ get the 32bits worth of flag data. I thought that maybe it would be:
mov EAX, [EBX+32]
but im thinking, no, that will get the lower memory into EBX and not bits 0-32.
Right?
So hows it done? Just the 32bit 'o' flags please?
Thanx in advance
Regards, Brill
But i need to extract the first 32bits, the flags, into a variable to test what was included in the information and i don't know how to _just_ get the 32bits worth of flag data. I thought that maybe it would be:
mov EAX, [EBX+32]
but im thinking, no, that will get the lower memory into EBX and not bits 0-32.
Right?
So hows it done? Just the 32bit 'o' flags please?
Thanx in advance
Regards, Brill