This is probally a really stupid question but how do you call a memory address in ASM? I am using the code call dword 557054 (557054 is were code is located…) but I figure that it is calling 557054 + were ever the program got loaded into into memory. I need this for my executable loader…
Share
There are two ways to do this, you can use
CALLor you can useJMP, the second is more flexible but requires you to do a little more work if you want some compatibility with C-style codeSimple c-function call using
CALL