@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> given that only short jump is position independent; and that both near jump and far jump hard code their locations; how is it possible that gcc can generate position independent cod with -PIC?
<1> what is the problem ?
<1> what it couldn't do ?
<0> well; if for the jmps
<0> I hardcode the address
<0> when when I relocate it
<0> aren't all those jmps to the wrong palces?
<1> near jumps are position independant
<1> and you don't need far jumps
<0> please explain



<0> short jumps are relative to ip
<0> but near jumps hard codes a value that ip gets set to no?
<1> as near jumps
<1> no
<1> near jumps are coded with 32bits relative value (in a 32bit world)
<1> as with short jumps with 8 bits value
<0> how do I use relative near jumps?
<0> wait
<0> near jumps
<1> they ARE relatives
<0> by default are relative?
<0> oh
<0> I'm dumb
<1> only far jumps/calls aren't
<0> I see; I see; got it; thanks/
<0> anyone have a link to the mit 386 refernce online?
<0> 9much more readable/usful thatn the intel docs)
<1> topic ?
<0> whta's so good
<0> about flat***embler?
<2> if a program calls mmap, and not munmap, is the OS guaranteed to clean up the mess when it exits? if not, does linux? if so, says what?
<0> an near jumps cross code segments?
<3> pgu better book than 'guide to ***embly language programming in linux'? I'm completely new to asm programming (i know C though) and i want to learn for linux/x86, not sure if i should learn nasm or HLA. hla seems too focused on it's high level language than asm which is what i really want to learn
<4> hello
<4> is it possible to write a char to stdout without having it on memory but in a register?
<5> yeah
<5> under what OS ?
<4> linux
<4> I've seen somwehere something like andl 0xffff or like that, but it doesn't seem to work
<5> oh yeah
<5> write needs an address...
<4> yes, though I'd say it's possible somehow to do it from a register, don't know
<4> **** knows, I'll be using a minibuffer
<6> hey ld has 'linker scripts'? where in the fruit cake can i learn about how to write a ld linker script?! SOS?!
<6> linux intel ld
<6> btw
<5> check out OS dev ld scripts
<5> i saw ld scripts somewhere on some osdeving site
<6> pireau: exactly! yes! i'm writing a toy os and am there now...i wanted more background info since i never saw ld scripts before
<5> why do you need an ld script ?



<5> the default one works fine with my os...
<6> pireau: yea, i'm not sure myself
<5> well, try without an ld script :P
<5> I use grub to boot my os
<5> saves a lot of time
<5> but i'm thinking about coding a tiny-*** bootloader
<5> just to set PM correctly and jump in
<6> pireau: it's not that bad doing a bootloader to go into pmode....and it impresses chicks
<5> yeah, i have the intel manuals here
<6> ;)
<5> there's a whole section on proci nit.
<6> pireau: i just looked at a few toy bootloaders and saw what was vital and what was just fluff
<6> pireau: much easier but your prof won't be impressed
<6> <wink>
<5> my what ?
<6> pireau: huh?
<5> "your prof won't be impressed"
<5> my what ?
<6> pireau: well your way is more prim and proper...(reading intel manuals ab initio)
<5> is more what ?!
<6> pireau: i was being facetious..go ahead and do it any way you want
<5> i'm sorry, i'm not a native english.
<5> i just didn't understand your last phrase...
<5> about prim and proper.
<6> pireau: no worries.
<7> hello
<8> hi...
<9> there is a way to write code to cpus that support intel VT technolegy while my currect cpu dont support it?
<10> why do you use different names on different nets? :P
<8> to escape the deer hunter
<9> skuggi:there is a guy in efnet that use the nickname izik
<10> ah :)
<11> it looks like macro ***embler is a fairly effective way to program asm, i havent looked well into HLA yet - but what do you guys do to program
<11> effectively in asm?
<11> (is it possible to program ***embler using macro's in nams/tasm5 as well?)
<10> main2: there are macros in nasm and tasm too
<10> but what is macro ***embler? never heard of it..
<12> masm
<10> that's microsoft ***embler.
<12> its called "micosoft macro ***embler"
<10> oh
<13> Does your university still teach ASM?
<11> HLA maybe?
<10> GoldenGrizzly: mine does.
<13> Computer Science?
<13> skuggi:


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #asm
or
Go to some related logs:

+GLIBC_PRIVATE +kernel +2.6.15
gnome theme file format invalid
liblber-2.2.so.7 sles
Sound Juicer denied
#perl
#linuxhelp
perl locatime gmtime
pdftk unencrypt
nolvm gentoo
ubuntu disallowtcp xserverrc



Home  |  disclaimer  |  contact  |  submit quotes