What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » creating an asm opcode

creating an asm opcode
Author: Message:
Verte
Full Member
***

Avatar

Posts: 272
Reputation: 7
Joined: Apr 2007
RE: creating an asm opcode
Oh no, I understood what you meant. I just thought you said you had the function there. If the location of the function is variable, then you will need to jump to the first instruction to be executed, for example, asm(jmp pointer_to_my_function).

Now, the thing that I am NOT understanding is how you're executing this. I was assuming that you've got a compiled program and you want to call your function from it at some point. This would mean you need to replace some instructions in the original program. How are you editing the program in Javascript? Have you got it also in a data array?

Because, in that case, this is what you could do, which is what I was saying. At some point, your function will be allocated into memory. And at that point, you can get it's location. The method will be different for different methods of allocation. It seems that you've got this function in memory from javascript, and you've got access to that data from +. Is this right so far?
was put impeccably into words at DebianDay for me last Saturday, by Knut Yrvin of Trolltech - adults try something once, fail, and then are like "ffs this doesn't work". Children try, fail, and then try again, and succeed - maybe on the second, or even fifth retry. But the thing is that they keep at it and overcome the problems in the end.

-andrewdodd13
06-28-2007 01:57 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
creating an asm opcode - by effection on 06-25-2007 at 12:25 PM
RE: creating an asm opcode - by Verte on 06-25-2007 at 03:26 PM
RE: creating an asm opcode - by effection on 06-25-2007 at 08:03 PM
RE: RE: creating an asm opcode - by Verte on 06-26-2007 at 09:17 AM
RE: creating an asm opcode - by TheSteve on 06-26-2007 at 12:21 AM
RE: creating an asm opcode - by effection on 06-26-2007 at 10:04 AM
RE: RE: creating an asm opcode - by Verte on 06-26-2007 at 10:24 AM
RE: creating an asm opcode - by effection on 06-27-2007 at 03:45 PM
RE: creating an asm opcode - by CookieRevised on 06-27-2007 at 11:48 PM
RE: creating an asm opcode - by Verte on 06-28-2007 at 01:39 AM
RE: creating an asm opcode - by effection on 06-28-2007 at 11:28 AM
RE: creating an asm opcode - by Verte on 06-28-2007 at 01:57 PM
RE: creating an asm opcode - by effection on 06-28-2007 at 03:18 PM
RE: creating an asm opcode - by CookieRevised on 06-29-2007 at 02:40 AM
RE: creating an asm opcode - by Verte on 06-29-2007 at 10:07 AM
RE: creating an asm opcode - by effection on 06-29-2007 at 05:49 PM
RE: creating an asm opcode - by Verte on 06-29-2007 at 11:42 PM
RE: creating an asm opcode - by effection on 06-30-2007 at 12:15 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On