Extracting native code from C
John M McIntosh
johnmci at smalltalkconsulting.com
Thu Mar 14 03:41:22 UTC 2002
>John M McIntosh <johnmci at smalltalkconsulting.com> wrote:
>> Normally you need to indicate to the hosting OS and processor that
>> this chunk of data is now instructions.
>
>OK, I give up. I can't find any references on the Internet that talk
>about how to do this, even in assembly language. Any help? It can be
>for any machine.
>
>Thanks,
>Anthony
mmm try
http://www.darwinfo.org/devlist.php3?number=9387
http://mail-index.netbsd.org/port-macppc/2000/05/08/0006.html
You'll note once your head stops hurting there is numerous ways to do this.
Some assemble manuals are here
http://www-aix.informatik.uni-tuebingen.de/doc_link/en_US/a_doc_lib/aixassem/alangref/isync.htm#A24F01ad
Of course an easy out is to ask the OS to do it for you
http://developer.apple.com/qa/ops/ops19.html
--
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
===========================================================================
More information about the Squeak-dev
mailing list
|