BY: aik6980 DATE: 2007-Nov-27 16:11 SUBJECT: what is the VCLSML_STACK?hi,
could anyone explain how to use this function
;//--------------------------------------------------------------------
;// PushMatrix - Push "matrix" onto the "stackptr"
;//
;// Note: "stackptr" is updated
;//--------------------------------------------------------------------
.macro PushMatrix stackptr,matrix
sq \matrix[0], -1(\stackptr):VCLSML_STACK
sq \matrix[1], -2(\stackptr):VCLSML_STACK
sq \matrix[2], -3(\stackptr):VCLSML_STACK
sq \matrix[3], -4(\stackptr):VCLSML_STACK
iaddi \stackptr, \stackptr, -4
.endm
do i need to declare "stackptr" myself in global VUmem or VCL has the fancy command to sort this out?
cheers,
|