This works for me
Shiftout SDO,SCK,Msbfirst,[WR_OPCODE_BYTE,IODIRA,$00\24]

but from what I'm seeing in the manual it is not correct. Also from looking on this forum it is not correct from what I can tell.

This does not work for me
Shiftout SDO,SCK,Msbfirst,[WR_OPCODE_BYTE\8,IODIRA\8,$00\8]

This does not work correctly either
Shiftout SDO,SCK,Msbfirst,[WR_OPCODE_BYTE,IODIRA,$00]

I need to shift out 24 bits. What is the correct way to pass the number of bits sent?
Again Shiftout SDO,SCK,Msbfirst,[WR_OPCODE_BYTE,IODIRA,$00\24] works but not sure why. The other ways do not.

Help is greatly appreciated.
Thanks,
Bryan