Movfw?

Status
Not open for further replies.

asp1987

New Member
Is there any command like this- movfw?
When I wrongly typed it, MPLAB showed it in 'blue' just like any other command. Also it didn't show any error when 'build all' was clicked.I was creating a program for 16F877A. Couldn't find anything like that in the datasheet.But found many when I searched on this forum.
What could be the reason?
 
Last edited:
MOVFW does not exist,(just see the data sheet) but, say you want to mov carry(C) to W, you use the instruction MOVF C,W.
 
MOVFW doesn't exist as a PIC instruction, but it DOES exist as an assembler directive, and creates the 'MOVF Address, W' line.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…