X-SpamDetect-Info: ------------- Start ASpam results ---------------
X-SpamDetect-Info: This message may be spam. This message BODY has been altered to show you the spam information
X-SpamDetect: *******: 7.000000 spf adsl=3.0, GreyPassed=1.0, DodgySource=2.0, SPF Default Fail=1.0
X-SpamDetect-Info: ------------- End ASpam results -----------------
hi
I am developing a multitask application on a MFC5282 board and intended
to create a semaphore type method to control access to some of the
common variables. Replacing the 'tst.b' with 'tas.b' in the snippet :
move.l 4(%sp),%a0
move.l #128,%d0
tas.b (%a0)
jbne .L4
move.b #-128,(%a0)
clr.b %d0
..L4:
rts
causes a 'invalid instruction for the architecture ... ' during
compilation with the m68k-uclinux-tools-20061214 tool set.
Can anybody suggest a way around the problem ?
Thanks
Phil Roets
---
coldfire@... Send a post to the list.
coldfire-join@... Join the list.
coldfire-digest@... Join the list in digest mode.
coldfire-leave@... Leave the list.