Truncated match.
PICList
Thread
'Simple code..'
1995\08\21@140908
by
Stammnes V.G.S
Can someone please tell me what these simple line of PIC16C84 code does :
MOVLW 067
MOVWF 10 : IS THIS SOME SPECIAL REGISTER OR RAM LOCATION ??
DECFSZ 10
tobias
1995\08\21@182500
by
Brian Read
MOVLW 067 : Move the literal 067 into the working register
MOVWF 10 : Move the working register to file 10 ( GP file in the '84)
DECFSZ 10 : Decrement the contents of file 10 and skip the next inst if the
: zero flag is set by the decrement
To be correct the DECFSZ instruction should include the destination of the r
result:
DECFSZ 10,W
or
DECFSZ 10,f
It defaults to f but.... (now, now Andy)
Happy bit fiddling,
Brian
More... (looser matching)
- Last day of these posts
- In 1995
, 1996 only
- Today
- New search...