| |
| |
| |
|
Comments:
<0> what do you think of efficeon proc all ? <1> I'm running linux, and I have wine installed. I want to develop ***embly programs for Win32 on this linux system. <1> how can I ***emble them with Nasm in a way that they can be linked with VC++ _or_ with freely available tools? <1> and* <1> <1> I'm running linux, and I have wine installed. I want to develop ***embly programs for Win32 on this linux system. <1> <1> how can I ***emble them with Nasm in a way that they can be linked with VC++ _and_ with freely available tools? <2> what mov eax, [ebp-48h] do? <2> what does* <2> im trying to understand eax, ebx, ecx etc <2> but ebp-48h?
<3> ebp is another register.. stands for base pointer <2> hm <2> but why the -48h <2> what does that change <2> sorry, i just started learning today <2> so i got millions of questions haha <2> reading through all these different papers <3> phailure: [ebp-48h] means the value at the location (ebp - 48h) <3> read about indirect addressing mode <3> also read something like this for an overview on what registers are useful for what: http://www.swansontec.com/sregisters.html <2> alrighty <2> im reading through pcasm-book.pdf right now <2> im kinda stumped on this though <2> 047C0 <2> +0048 <2> 04808 <2> or 047C0 + 0048 = 04808 <2> Isn't C = 12? <2> So how is c+4=10? <3> 0 1 2 3 4 5 6 7 8 9 A B C D E F 10 11 12, etc. <3> read on hexadecimal <2> well so A = 10, B = 11 <2> to F = 15 <3> yes.. 10 (hex) is 16 (decimal) <3> c+4 = 10 (hex) => 12 + 4 = 16 (dec) <2> whoa im lost <2> So whats 9 hex <1> 9 <1> numbers less than 10 are the same in both decimal and hex <1> (that's less than A in hex) <4> i repeat "what do you think of efficeon proc all ?" <5> 8B EB 91 7C 94 EB 91 7C <5> i need to dis***emble these few bytes.. <6> echo -e "\x8B\xEB\x91\x7C\x94\xEB\x91\x7C" | ndisasm - <6> ? <6> they don't make much sense <5> why Spark? <5> well i don't have ndisasm here, unfortunately <6> is it x86 <5> yes..
<5> of course <5> why? <7> hi i m new to MIPS, can anyone help me or guide me where i could find some good material <8> What are some good ide for ***embly? <9> Notepad. <8> Heck, i will use a pen and paper <8> why even respond? <10> sOra: emacs, masm32 (qeditor) :) <8> ok d00zer, will look inot it :-) <10> masm32.com/board - > IDE Development and Support <8> k <11> I'm in win32.. What would I use if i want to compile a single statement to get the bytes produced... like if i were to patch a running process... <8> d00zer <8> still here? <10> yeah <8> can asm be learned to replace C++ etc? <12> in the same way that you cn learn to build a house molecule bu molecule rather than brick by brick <10> not for writing code fast. <12> or house by house, tbh <8> What would be the advantage? <8> besides faster execution i beleive. <12> not much, if you want t do high level programming, you ought to use a high level language <8> so ***embly is strictly for hardware based programming? <12> well, unless you're mad, yes <8> well, what im trying to say is, that is what people use it for, right? <8> ok <8> lol <12> yeah. I use asm in things like cpu abort handlers, when there's not much of an environment for a high level language <8> ok <13> Hello. <13> I am writing a procedure in NASM that will be called from C code. <13> It will be p***ed one parameter, of type 'int' <13> Will this put that parameter in to eax: <13> pop eax <13> Or is there a different code I need to use to get the contents of the parameter in to EAX? <14> AWOSLappy: ? <14> AWOSLappy: C calling convention puts arguments to stack <14> yes <13> right <13> so I would just "pop eax" and the parameter is now in EAX, correct? <14> no <14> AWOSLappy: that would hold the return value <14> AWOSLappy: how else could you return? ;) <14> usually you do: push ebp; mov ebp, esp; mov eax, [ebp+8]; do something with first argument; leave; ret <14> AWOSLappy: second argument would be in [ebp+12] and so on <13> http://rafb.net/p/SZuk0J85.html <13> lindi- does that look about right?
Return to
#asm or Go to some related
logs:
#suse #lisp #gentoo MAILER-DAEMON postsuper awk #ldap perl, eval my how to insert an array into session in php
#css value of htmlspanelement #css
|
|