NASM - The Netwide Assembler
NASM Forum => Programming with NASM => Topic started by: nobody on June 26, 2008, 07:16:51 PM
-
Hello,
I want to assemble the following code to a binary file:
org 0 // I don't know this value yet
start:
jmp start
but I don't know the start address (ORG) at this time, since I will use this code in a C++ Application.
Is there any program that allows me to change the start address by patching the whole file?
Thanks in advance
-
> org 0 // I don't know this value yet
:-D
> address (ORG) at this time, since I will use this code in a C++
C++ calling conventions ... or drop C++ completely ;-)
> Is there any program that allows me to change the start
> address by patching the whole file?
Linker ?
PS: "org" is a directive, not an instruction.