ASM looks way harder than it is actually.
Let's see few common expressions
MOVLW .10
MOVWF PORTA
It's nothing else than PORTA = 10
<hr>
BTFSC PORTA.1
GOTO $-1
Could be translated as
WHILE PORTA.1=1 : WEND
OR
TestPORTABit1:
IF PORTA.1=0 then GOTO DoSomething
Goto TestPORTABit1
DoSomething:
<hr>
MOVF PORTA
MOVWF MyVar
would be MyVar=PORTA
<hr>
INCF MyVar,F
MyVar=MyVar + 1
<hr>
nothing really hard to learn... but yeah... could be a bit hard to follow/understand a little bit when you begin. 18Fs and DsPIC assembler is way easier to code, but you have more Mnemonics to learn.
Last edited by mister_e; - 29th March 2008 at 01:08.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks