MOVF really should have been named COPYF.
Because it copies one register to another, leaving the original intact.
Similarly MOVWF leaves the value in W, and copies it to the register.
hth,
MOVF really should have been named COPYF.
Because it copies one register to another, leaving the original intact.
Similarly MOVWF leaves the value in W, and copies it to the register.
hth,
DT
Thanks Darrel.
I know it was a pretty naive question but I am debugging some code and if the value was moved, it would have explained the problem!
Bookmarks