@# Quotes DB     useful, funny, interesting





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


Comments:

<0> is nasm still developed?
<1> does anyone know how/if this is allowed in an ***embler 'Add with CF sign-extended imm8 into r/m32'
<1> its ok thanks, i found it, it needs the byte explicitly stated
<1> does anyone know how i do that in fasm? i'm trying adc eax, byte 2 but it won't work
<1> i feel stupid now, thats the default output for fasm..
<2> can someone give a newbie a good link to page describing purpose/usage of intels segments registers?...ds, ss, cs, etc.?



<3> hi
<3> somebody use olly debugger on windows?
<4> what's windows?
<3> :P
<5> Windows is where the light comes from
<6> open windows to let fresh air in
<4> oh my bad sorry
<3> yeah, however i have a teorical problem...
<3> during debugging, when i have a call to WSAStartup, for example, that is an api for winsock inizialization, ollydbg give me an exception of violation error
<3> what this means?
<3> i don't believe that is a programming error (because i have the same problem with masm with the simple invoke, now i'm using nasm that rulez:)
<7> nasm doesn't rule...
<7> maybe you inverted parameters
<3> edcba, probably i found the error... i have compared the program with another writed in c...
<3> that in c allocate the second parameter in main stack, instead i used the data segment...
<3> but what is the problem? cannot i use data segment?
<7> ds = ss
<7> so you can
<3> edcba, i see with debugger that ds and ss has different space address
<7> ds and ss should be the same
<3> maybe on real mode?



<7> on 98/NT/2K/XP ds=ss
<2> anyone got a good link that explains ds, ss, cs and how used?
<2> edcba: i need a link to learn that stuff (ds, ss, etc.)
<7> topic 80386 html reference
<2> great!
<2> edcba: i can't find ds in that manual
<7> look for segemnt
<7> read it entirely
<2> ok, found it
<3> edcba, i mean the stack of the main thread
<7> ds:esp and ss:esp points to the same memory
<7> dince ds = ss
<3> yes, true.. now i'm looking good... sorry for repetitions
<0> is there like a "return" call in x86 asm? the book im using just does "int 0x80" or something
<3> maybe leave
<1> int 0x80 is for system calls on linux.
<8> kms375: return from a procedure is done with "ret". if it's using int 0x80, maybe it's exiting the program?
<1> do you mean return to os?
<0> exit out of the whole program
<0> like "return 0" from main()
<1> are you coding for linux?
<8> kms375: if it's code for unix it would definetly be something to do with int 0x80
<1> It depends what OS you're using, each one does it a different way. Windows you call ExitProcess, 0 - Dos it's int 21h function 4Ch - Linux is the int 80h function 1


Name:

Comments:

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






Return to #asm
or
Go to some related logs:

#lisp
#centos
yast installation source rebuild konsole
susefirewall + torrent
intersil centos
#suse
foldl perl
#linux
Fatal error: Call to a member function on a non-object in functions_post.php
ubuntu vmtools manual



Home  |  disclaimer  |  contact  |  submit quotes