The first assembly file I've tried to compile with VBCC has resulted in an surprising and unexpected error:
Code: Select all
vc -c calculatetexturecurrentline.s
error 1 in line 22 of "calculatetexturecurrentline.s": illegal operand types
> and.l #0xffc0,d0
vasmm68k_mot -quiet -Faout -phxass "calculatetexturecurrentline.s" -o "calculatetexturecurrentline.o" failed
As far as I know, it's perfectly valid to perform a 32-bit "and" operation on a data register using an immediate value - GCC has been perfectly happy for me to do this. Can anybody offer their thoughts on whether this operation is "officially" part of the m68k instruction set? Everything I've read to date would suggest that it is.