@# Quotes DB     useful, funny, interesting





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


Comments:

<0> good night everybody
<1> and naive ;)
<2> hey. Any C++ coders around? Tried all other channels:
<2> in this test code, near_end keeps the value that was computed at the first call - it doesn't update on second call. http://rafb.net/paste/results/E0gDZb81.html - any ideas why?
<3> Anyone know the difference between segmentation and paging?
<3> Apparently x86 can do either one for memory management
<4> yeah
<3> I don't see what the difference is between segment:offset and segmentoffset



<3> Unless paging is what we call the memory only after it has been divided up by the mmu and segment:offset is how the hardware natively sees
<4> a punc. mark ?
<3> it
<4> you can use paging+segmentation
<4> or just paging
<5> c++ inline asm error; http://rafb.net/paste/results/XwzlZo82.html
<6> error C2443: operand size conflict
<4> inline asm is AT&T syntax
<4> with gcc ?
<6> I'm using visual c++ 2005
<6> the value?
<6> nvm, wrong channel.
<4> i like intel's syntax more than AT&T's.
<6> Damn windows! Damn M$!!
<4> move over to *nix :)
<7> is there a sequence of instructions I can execute to put the contents of %eip into %eax ?
<8> newbcoder, something like: call .dest
<8> .dest: pop eax
<9> hi, how to "translate" this masm code into C? http://rafb.net/paste/results/X56gpK93.html
<7> mElo_; hmm; I actually need machine instructions :-(
<7> so I'm rolling my own dynamic linker
<7> it mmaps a file and execs it
<7> but the file that it execs doesn't kno where it is placed in memory
<7> is there a way to figure that out?
<7> I guess if not; I can always in between mmaping and execing
<7> do a pushl
<7> oh wait; I can't pushl %eip
<7> hmm okay okay; so my C prog will have to inline ***embly a function which does
<7> pop eax
<7> push eax; push eax; ret;
<7> no no; wait; after mmaping; I know where the file to be execed it
<7> so I can just pushl it's location
<8> newbcoder, I don't know. :-
<10> hi
<1> lo
<10> do you know a library or a .h thats makes a structure, where every pnemonic has its opcode?
<10> s/thats/that/ig



<1> of what x86?
<10> x86
<10> I looking inside /usr/include/asm
<1> binutils seens to have the file
<10> thnx
<10> libopcodes.a
<1> :)
<11> Hi I want to implement an OS on pentium . I have pentium4 . If I wrote it as compatible with 386 I think it works on all pentiums(except old ones) . I want to ask does it work on AMD I have no AMD experience yet
<4> yeah
<12> if it is compatible with 386, it works on all pentiums. and all AMDs.
<4> AMD is IA-32 compat.
<12> unless you screwed something up in ridiculously unportable way. which is hard to do.
<11> I probably going to use gas ,
<12> hehe
<13> hi all
<12> hi
<13> how's life?
<12> about right
<13> good to hear
<13> there used to be a rushing sense of pride for me when I got in each morning, opened a terminal, typed 'cd projects/source' 'ls -l'. I can't say I felt that today.
<13> Maybe it's because I'm working on a Sunday.
<13> Yeah, that's probably it
<14> can anyone recommend documentation that might help me translate nasm directives to gas?
<15> sparr_, the manual?
<14> wobster: they are both very long, and not very well suited to such a task.
<16> what are you talking about?
<15> sparr_, maybe you're not suited for that task
<14> wobster: also very likely.
<14> Toaster: i need to convert some ***embler directives from nasm to gas
<17> Some?
<16> mhmm GAS... Westcoast Customs...
<13> hi all
<13> there are 7 floating-point registers, are there not?
<13> if so, ***uming 7 are in use, what happens if you load another value?
<12> depends on arch. on x86, which you probably mean, there are 8.
<13> ah. gdb is only showing me seven
<12> and if you overflow the reg stack, it's an overflow error. you get killed with SIGFPE.
<13> but, in any case... what happens to the 8th when you load another?
<12> 7?
<12> st0 - st7
<12> that's eight.
<13> you're right. it's eight :)
<13> thank you


Name:

Comments:

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






Return to #asm
or
Go to some related logs:

x-forwarding mplayer sound
hack + bollygrounds
inkscape add fonts
#oe
emule wmv can't play
The server must be started under the locale which does not exist any more.
#css
javascript createtextelement
#centos
rkhunter install postfix synaptic



Home  |  disclaimer  |  contact  |  submit quotes