[futurebasic] Re: [FB] Convert 68K assem to PPC assem

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 1999 : Group Archive : Group : All Groups

From: Chris Stasny <staz@...>
Date: Mon, 20 Sep 1999 10:14:08 -0500
>In relation to this thread, I would like to point out a documentation error
>in the FB^3 Reference Manual, where an extravagant and incorrect assertion
>is made:
>"Mixed-mode compilations.  If your program is being compiled for the PPC
>CPU, you can still include lines of 68k assembly language in your program
>if you precede them with the BEGINASSEM _cpu68k statement.  When your
>program runs (on a PPC), then your 68k assembly statements will be executed
>by the PPC's "68k emulator" software."
>This is wrong.   You _cannot_ use 68K assembly instructions in a program
>compiled for PPC. That is to say, FB^3 lets you put them in, but they are
>certain to crash. Consider the following short program, which runs OK in
>68K but gives a "PowerPC illegal instruction" error in PPC (when you type G
><return> to leave MacsBug):

We have fixed this so that you can use BEGINASSEM cpu68K as an entry ponit
for a universal proc. You may not use 68K assembly in any other


-STAZ  ~)~

800.348.2623 Orders  http://www.stazsoftware.com
228.255.7086 FAX     mailto:staz@...