[futurebasic] selectors & traps

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 1998 : Group Archive : Group : All Groups

From: Larry00007 <Larry00007@...>
Date: Sun, 29 Mar 1998 17:54:50 EST
I have seen assembly versions of trap calls in FutureBasic that require
selectors, where the selector has been declared inline before the trap number:

'   DC.W   selector
'   DC.W   trap

and where the selector has been put into DO before the trap is declared
inline:

'   move.w   #selector,d0
'   dc.w	 trap

Experiments seem to show that it works either way. Is this correct? Is there a
preferred (Apple approved) way?

Larry