Passimg multiple parameters to PASM
John Board
Posts: 371
G'day,
Just wondering how I pass multiple parameters (in this case, variable pointers), to PASM code. Or to achieve this would I pass one variable pointer, and then somehow be able to change the other variable using the same pointer..? Add 4(?) to the pointer?
Thanks,
John
Just wondering how I pass multiple parameters (in this case, variable pointers), to PASM code. Or to achieve this would I pass one variable pointer, and then somehow be able to change the other variable using the same pointer..? Add 4(?) to the pointer?
Thanks,
John
Comments
-Phil
Top "Object":
SigmaDelta Library:
I'm wanting to access the par flag on the lines "wrlong asm_sample1, par", and the line below that. So for example, what would I put in to write asm_sample1 to the first element, and then asm_sample2 to the second?
Cheers,
John
If this is not possible then you can use a mailbox (an array with the variable pointers, as Phil suggested):
Andy
Worked, thank you very much!
-John