| |
| |
| |
|
Page: 1 2
Comments:
<0> call eax <1> or maybe /usr/include/asm/unistd.h <1> and that's it. that's the way all syscalls are called [except pipe and mmap, which are ****ed up exceptions] <0> :D <0> mwk: thanks in advance <0> btw can i do <0> mov eax, 0x01 <0> mov eax, 1 works too
<1> umm <1> wait a moment <1> whose *** was this 'call eax' thingie pulled from? <2> hah :) <0> what? <1> whose *** was this 'call eax' thingie pulled from? <2> ask smg ;) <0> mwk: i dont know <0> is call eax wrong? <1> sure it is <0> why? <0> how i call then the syscall <1> int 0x80 <0> what does int mean? <1> call eax calls procedure at address eax <3> system call <1> which will be disastrous. <1> no, it's not system call. <1> it's INTerrupt <3> int 0x80? <1> you don't want to know what it means. <1> int, in generic, isn't syscall <3> sorry, linux specific was my thoguhts <1> int 0x80 is one way of linux syscall <1> well, it was also 0x80-specific. <0> so what do i do in genereal? <0> i mov eax, [syscall_value] <0> mov ebx, [arg] <1> you write 'int 0x80' and forget wat that means. <0> int 0x80 <0> is this right? <4> what is the difference between a preincrement and a postimcrement?
<0> mh <0> if you speak english and latin you can get it :) <1> JabberWalkie: m68k? <4> mwk: yeah <1> where the **** did you see preincrement in m68k? <5> mwk so angry :) <4> errr under addressing modes... <1> you reading M68000PRM.pdf or something else? <1> there is only one mention of preincrement here, and it seems to be an error <4> no the HSC12 core users guide <1> um, what is HSC12? <1> cause, y'know, HSC12 isn't m68k <4> well its for the 68HSC12 ISA <4> errr 68HC12 <1> grml. so why the 'yeah' to 'm68k?' <4> you ment the motorolla 6800 series yes? <1> m68k is motorola 68000 processor and compatibles <1> quite different from 68hc12 and other motorola microcontrollers <4> ok <0> sorry <0> my server is borked <0> i come back to talk soon <1> yawn <1> anyway <1> since noone seems to help you... <1> pre-increment is something like LDAA 5, +X <1> this loads a byte from address X to accumulator A and increments X by 5 <1> post-increment is something like LDAA 5, X+ <1> this icrements X by 5 and loads a byte from newly-incremented address X to accumulator A <1> errr.... **** <1> strike that. reverse that. <1> LDAA 5, +X is pre-increment <1> it increments X by 5, then it takes value from newly-incremented address X and stuffs that to acumulator <1> LDAA 5, X+ is post-increment <1> and it first loads the value from address X, then it adds 5 to X <1> pre-increment is increment-first, and use already-incremented value <1> post-increment is use old value, then increment
Return to
#asm or Go to some related
logs:
#php #web CDEPEND Exceptions obouto czth microsoft +openzaurus +gpe +locale exec php file execute debian idesktool fedora-release = 3 is needed ubuntu receive_packet failed
|
|