Re: ASM - Problem at first step!
couple of mistakes in there... no problem it's your first I guess
You haven't cleared the TRISC register
no real need for multiple ORG and GOTO at the begining
If you want to use GOTOs, you want to use/define some label and jump to them.
It's really more readable to use register name instead of their addresses.
Make suire you're always in the good BANK when writing/writing to a registers. Datasheet show everything 'bout that
Maybe not a bad idea to retrieve the oscillator calibration at the begining.
Like Bruce said, check out your MPASM\Template\CODE folder.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks