; wow.s XDEF _wow ; SAS/C function link symbol convention _wow: ; wow is int wow(char what) MOVE.L A5,-(SP) ; preserve A5 MOVE.L A7,A5 ; put current stack onto A5 to use as reference to args MOVEQ #0,D0 MOVE.B 11(A7),D0 ; move the char into D0 MOVE.L (SP)+,A5 RTS ; D0 is return value