help with pasm subroutines
pilot0315
Posts: 910
in Propeller 1
I have been trying to get the math from the book to work as a subroutine as advertised. Tried several combinations and I cannot get them to work. Would someone please look at this as a second set of eyes.
Thanks.
It appears that it should be simple. I have a incrementing count program working but these will not work.
Again thanks
Thanks.
It appears that it should be simple. I have a incrementing count program working but these will not work.
Again thanks
Comments
Also the unnecessary "mov x_var, temp_var" lines are still there. This will confuse a reader of your tutorial.
Here is your 2 subroutine code with better indentions and the above issues corrected. I also renamed the temp_var to varptr, because that describes it better.
Andy