| |
| |
| |
|
Comments:
<0> how can i use gas to compile single instructions to ELF file? ( just file with opcode of few instructions... ) <1> qutfix: dunno about gas :( <1> qutfix: but with nasm it's easy: echo mov eax,42 > a.asm && nasm a.asm -o a -f elf <1> a: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
<1> 'objdump -d a' => '0: b8 01 00 00 00 mov $0x1,%eax' <0> lindi-:but nasm doesnt support 64bits... <1> qutfix: good point <2> iirc yasm does <3> qutfix: echo 'movl $0, %eax' | as <3> objdump -x a.out <3> or just run 'as' and it'll accept stuff from terminal <0> ok thanks <4> hi, what is the directon bit in the flags register for (cld clears it) but what is it for? <5> it sets if bits are horizontal or vertical <6> mrec: rep movs, rep stos etc.. use the direction flag <4> ah thanks <7> is it possible to put functions into separate files and using #include(?) to glue it into the main asm-file? (I'm using spim) <8> test
<1> failed <9> does anybody know the debug tools for nasm code ? <1> kylix: gdb? <10> so I don't know if anybody is here from back when I tried to find out the prefix separator for x86 asm on the mac <10> it seemed to be ";", but I did digg a bit deeper <10> and it turns out it is // <10> straight from the source <1> which ***embler? <10> #define PREFIX_SEPARATOR '\\' <11> pgp__, ah yes. thanks for the info-. <10> oops <10> wrong again <10> \\ <10> damn <10> as, included in the apple dev tools <2> in linux-kernel-space how is the mapping from pages to physical-addresses?
Return to
#asm or Go to some related
logs:
gentoo at: command not found dynashell #egghelp Motorola WU830G and Ubuntu compiz window always on top ftponly Ubuntu mathematica,\!\(x\ Hypergeometric2F1[1\/2, \(-n\), 3\/2, x\^2]\) #css ubuntu hardwaremanager iptables -A FORWARD -i eth0 -j ACCEPT
|
|