Hey folks!
I recently started getting into ASM and the very low level instructions of a computer and I'm planning to code a basic virtual machine for my own ASM syntax for a system on a micro-controller. For this I try to study ASM coding in general, the generated binaries and how the memory behaves on runtime. I feel pretty safe with the first two parts but what I need is some more ground on the Memory side. I use SASM to write my NASM code and the ld-linker, not the default gcc.
The assembly options are:
nasm -g -f elf32 $SOURCE$ -l $LSTOUTPUT$ -o $PROGRAM.OBJ$
And the linking options:
ld -m elf_i386 -s -o $PROGRAM$ $PROGRAM.OBJ$
Now, when I my programs in SASM, the Registers show up right, but the Memory Tab is blank and doesnt show any memory on runtime.
I didnt find any solution to it and a quick try on windows showed that it didnt work there too... Did I forget or overlook something? I would also really appreciate any suggestions for how to debug executables on linux where I can see the memory and instructions with break points and so on.
Thanks a lot! =)
Screenshot of my SASM:
http://imgur.com/vjH11fb