I have the following code: (simplefied)
Main: mov si,WORD[.Adr] call si cli hlt .Adr: dw TTT TTT: --DO SOMETHING--- ret
But the function never gets used, if i call TTT direct i does work:
Main: call TTT cli hlt
Also, comparing SI with TTT show the are the same.
I'm i missing something when it comes to function pointers?
i'm using NASM in 16bit binairy mode (bootloader)
Tanx,
Joran


Sign In
Create Account

Back to top









