Hi, I'm using 4.2. I'm trying to learn some about x86 assembly language for instrucctional purpose. I'm really a noob in this things so I want to learn from the "dumb" point.
Every example I've found on the net doesn't works for me. I only want to make a very very simple runnable program with only a few "practical" instrucctions (something like "put the eax register to 0x000000000) and things like that, but I don't know how the OpenBSD kernel runs binary code so everithing the shells returns to me is "fu** you noob" similar messages, cause i'm not sending the right flags to "ld" and "as". There is something critical I need to use to make my binary code runnable on OpenBSD? I'm trying really simple things like put some strings in memory and stuff like that, nothing hard to understand, not even need to have a console text return. The way I compile: $ as --gstabs -o object.o source.s $ ld -s -o program object.o Thanks for your time.