I wrote: >I was trying to push parameters onto the stack like this: > > ` move.w -(sp),^fRefNum% > > when I should have been doing it like this: > > ` move.w ^fRefNum%,-(sp) > Joe Lewis Wilkins replied: > Nice going Rick, > > You've pinpointed something that we probably need - an FB Assembler Editor - > or at least something that checks the "basic" syntax of Assembler Routines. Actually, my reversed-operand lines were valid assembler syntax--they just didn't do what I was intending. I was trying to copy data from my variables onto the stack, but the syntax I was using copied data in the other direction (from the stack to my variables). A perfectly valid assembler instruction, but it just left the wrong data on the stack--which is why FN SetupAIFFHeader kept returning an error. - Rick