Sat May 11, 2013 9:37 pm
#include <p18F8720.inc>
org 0x00
goto start
org 0x08
retfie
org 0x18
retfie
start movf 0x10,W,A ; WREG <- [0x10]
addwf 0x13,W,A ; WREG <- [0x13] + [0x10]
movwf 0x20,A ; 0x20 <- [0x10] + [0x13]
movf 0x11,W,A ; WREG <- [0x11]
addwfc 0x14,W,A ; WREG <- [0x11] + [0x14] + C flag
movwf 0x21,A ; 0x21 <- [WREG]
movf 0x12,W,A ; WREG <- [0x12]
addwfc 0x15,W,A ; WREG <- [0x12] + [0x15] + C flag
movwf 0x22,A ; 0x22 <- [WREG]
end
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.