I am not so experienced at using assembly, but with the help of Darrel, I have been able to get two microchip asm examples to work. (Thanks Darrel!!!).
This example looks a little more straight forward, but then they always look easy, don't they?
First, you should define your variables. This I have always done outside the asm portion.
Why don't you start with that, and see how many fewer errors you get. Then post your errors here, and I will try to help you.Code:;example: T1XHi VAR byte T1XLo VAR byte ..................................etc ;When these variable are used inside asm, you add a little "_" on the front of them: asm .......... _T1XHi ........... _T1XLo endasm




Bookmarks