Hey All..
well I'm new to assembly and well...I've played around with the MASM assembler but have now started using the NASM one....
I just can't seem to find out how to define a section and use it...
For example...define a data section called bob...then put its lcoation into ax...
e.g...
Well I'm not having a load of luck mastering protected mode...looked aroudn for some simple tutorials on the subject...but seem to be having problems.
Number of questions...how would I compile a protected mode app using masm and masm's linker?
Also is there a way of creating a binary...
Thanx AirCon,
thats fantastic...thats just what I wanted to know how to do....
Brilliant....couldn't work out how to do that for ages...but you've solved my problem :)
Thanx again AirCon.
Ben
now I have a masm assembler...but how come this line gives me an error:
jmp far 0100:0000
As this will allow me to change CS and IP...but I get the error:
"Left operand must have segment"
Thanks for any help on this
Ben
Okay, I have a simple piece of assembly code...now I want to jump to the bios reset area and reset the pc to a cold restart if that makes sense.
I think memory location 0472 should be 1234h, and the bios offset is at FFFF0h...
So how would I perform a reset in asm...only new to assembly...but...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.