View previous topic :: View next topic |
Author |
Message |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Tue Apr 05, 2016 11:56 am Post subject: Allocating memory and writing opcode within it. |
|
|
Delete:
Dumb question... Sorry guys.
Last edited by Dr.Disrespect on Tue Apr 05, 2016 6:17 pm; edited 3 times in total |
|
Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Tue Apr 05, 2016 5:14 pm Post subject: |
|
|
You need to add a ret instruction at the end of your function.
Then the other locations need to use call generalFunction.
|
|
Back to top |
|
 |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Tue Apr 05, 2016 6:16 pm Post subject: |
|
|
Zanzer wrote: | You need to add a ret instruction at the end of your function.
Then the other locations need to use call generalFunction. |
Sorry for the late reply. Thanks Zaner, I just realized how dumb my question is.
|
|
Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Tue Apr 05, 2016 6:39 pm Post subject: |
|
|
Your question wasn't dumb. There was no need to delete it, as it could still help others in the future. Everyone has to start somewhere.
|
|
Back to top |
|
 |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Tue Apr 05, 2016 9:54 pm Post subject: |
|
|
++METHOS wrote: | Your question wasn't dumb. There was no need to delete it, as it could still help others in the future. Everyone has to start somewhere.  |
Sorry, I will keep that in mind.
|
|
Back to top |
|
 |
|