| View previous topic :: View next topic |
| Author |
Message |
h4c0r-BG Master Cheater
Reputation: 0
Joined: 29 Nov 2006 Posts: 449 Location: The yogurt country
|
|
| Back to top |
|
 |
Zand Master Cheater
Reputation: 0
Joined: 21 Jul 2006 Posts: 424
|
Posted: Fri Mar 27, 2009 6:10 am Post subject: |
|
|
Formula to use is
|
|
| Back to top |
|
 |
h4c0r-BG Master Cheater
Reputation: 0
Joined: 29 Nov 2006 Posts: 449 Location: The yogurt country
|
Posted: Fri Mar 27, 2009 7:42 am Post subject: |
|
|
| Quote: | dest refers to the parameter into which the result of the operation will be stored.
src refers to the source of any extra data required by the operation. |
So what value SRC is going to hold. And what are those "-"`es and why "5" ...
And am i going to use this via:
Thank you. _________________
|
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Fri Mar 27, 2009 7:43 am Post subject: |
|
|
| h4c0r-BG wrote: | | Quote: | dest refers to the parameter into which the result of the operation will be stored.
src refers to the source of any extra data required by the operation. |
So what value SRC is going to hold. And what are those "-"`es and why "5" ...
And am i going to use this via:
Thank you. |
Why use asm/end; ? High-Level (Something Normal Humans Read) are ment to keep you away from Low-Level (Something Chinese Aliens Read), lol.
Last edited by DeletedUser14087 on Fri Mar 27, 2009 7:44 am; edited 1 time in total |
|
| Back to top |
|
 |
h4c0r-BG Master Cheater
Reputation: 0
Joined: 29 Nov 2006 Posts: 449 Location: The yogurt country
|
Posted: Fri Mar 27, 2009 7:44 am Post subject: |
|
|
Rot1, I am asking because i do not know how to do it at all..  _________________
|
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Fri Mar 27, 2009 7:45 am Post subject: |
|
|
| h4c0r-BG wrote: | Rot1, I am asking because i do not know how to do it at all..  |
Get on messenger. |
|
| Back to top |
|
 |
dnsi0 I post too much
Reputation: 0
Joined: 04 Jan 2007 Posts: 2674
|
Posted: Fri Mar 27, 2009 7:51 am Post subject: |
|
|
| h4c0r-BG wrote: | | Quote: | dest refers to the parameter into which the result of the operation will be stored.
src refers to the source of any extra data required by the operation. |
So what value SRC is going to hold. And what are those "-"`es and why "5" ...
And am i going to use this via:
Thank you. |
The 5 is there becuase it signals the opcode. The opcode that takes up the jump is 5 bytes E9 ?? ?? ?? ??. |
|
| Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Fri Mar 27, 2009 12:28 pm Post subject: |
|
|
Algebra, use it.
| Code: | | JUMP_OFFSET = TO - FROM - 5 |
| Code: | | TO = JUMP_OFFSET + FROM + 5 |
|
|
| Back to top |
|
 |
h4c0r-BG Master Cheater
Reputation: 0
Joined: 29 Nov 2006 Posts: 449 Location: The yogurt country
|
Posted: Sat Mar 28, 2009 6:54 am Post subject: |
|
|
Thanks for anyone who willed to help me. If anyone is curious what exactly is the solution:
10000001 - 53 43 03 f0/F0034353 - jmp 00034358
10000006 - 4e 43 03 f0/F003434E - jmp 00034358
FFFFFFFF-10000001=EFFFFFFE
F0034353-EFFFFFFE=34355
34355+3=34358
FFFFFFFF-10000006=EFFFFFF9
F003434E-EFFFFFF9=34355
34355+3=34358 _________________
|
|
| Back to top |
|
 |
|