How to debug the .asm source?
Submitted by zhangbonian on Sat, 02/25/2006 - 03:35.
I'm not familiar with the nasm. Any one could tell me how to debug the .asm source?
what's the meaning of the following code in kernel.asm ?
mov AAX,vm_startt
%ifdef BITS32
add AAX,BootImageBuilder_JUMP_MAIN_OFFSET32
call AAX
where dose the call instruction go?
- Login to post comments
Answer
The jump goes into the java boot code. This is the point where the assembler bootstrap hands over execution to the compiled java code.
The actual address is patched by the bootimage build process.
Ewout