Re: A89: when i say JUMP, you say WHEN?


[Prev][Next][Index][Thread]

Re: A89: when i say JUMP, you say WHEN?




You are right to a point... In order to copy the jump command, i still
needed to know the size of the jmp instruction that jumps to a (somewhat)
fixed address...

Just in case someone is curious as to what i am doing: I am trying to change
the start point of my (c) program from main to another function... weird
huh?

Thanks, everyone for your help,
Greg
_________________________________
All parts should go together without forcing. You must remember that the
parts you are reassembling were disassembled by you. Therefore, if you can't
get them together again, there must be a reason. By all means, do not use a
hammer.
-- IBM maintenance manual, 1925

----- Original Message -----
From: "James Darpinian" <James_Darpinian@hmc.edu>
To: <assembly-89@lists.ticalc.org>
Sent: Sunday, February 18, 2001 11:38 PM
Subject: Re: A89: when i say JUMP, you say WHEN?


>
> At 10:24 PM 2/18/01 -0600, you wrote:
> >
> >I'm not sure that i was real clear, I need to know how the op-code is put
> >together for a jmp to  address x...
>
> I don't think you need to know.  C variables can be accessed in asm
blocks,
> so all you need to do is store the addresss you want in a variable, then
> use inline asm to jump there.  There should be no reason to actually need
> to construct the jmp instruction manually.  I say again, try reading the
> documentation.
>
> James Darpinian
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Follow-Ups: References: