rangerskm
Full Member level 4
- Joined
- Jan 23, 2013
- Messages
- 199
- Helped
- 0
- Reputation
- 2
- Reaction score
- 0
- Trophy points
- 1,296
- Activity points
- 2,663
Code:
list p=pic16f73
#include "p16f73.inc"
cblock 0x20
r0,r1
endc
org 0x00
movlw 0x03
movwf r0
movlw 0x00
movwf r1
x: Movlw 0x0a
addwf r1,1
decfsz r0,1
goto x
goto $
end
please explain the calculation with an example