![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
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 by asp1987; 13th February 2008 at 07:35 PM. Reason: To add more details. |
|
|
|
|
|
|
(permalink) |
|
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.
__________________
Regards, William Mullaney "HOPE for the best, EXPECT the worst, ACCEPT whatever comes." http://wiliamsville.myminicity.com/ http://wiliamsville.myminicity.com/ind/ http://wiliamsville.myminicity.com/tra/ |
|
|
|
|
|
|
(permalink) |
|
Thanks...
|
|
|
|
|
|
|
(permalink) |
|
MOVFW doesn't exist as a PIC instruction, but it DOES exist as an assembler directive, and creates the 'MOVF Address, W' line.
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
Last edited by Gayan Soyza; 7th July 2008 at 02:51 AM. |
||
|
|
|
|
|
(permalink) |
|
And pretty color ones at the back of my Firefly manual
|
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Drive 33 Servos With One PIC + USART | wschroeder | Micro Controllers | 40 | 14th July 2008 02:22 PM |
| pic16f870 a to d, d to a | hotrodhed120 | Micro Controllers | 29 | 9th March 2007 10:24 PM |
| im stupid cos i can do this in a 'C program but not in basic | Ricardoco | Micro Controllers | 33 | 21st November 2004 08:14 PM |
| ya | mari_69 | Micro Controllers | 4 | 7th June 2004 01:29 PM |
| Having problems with pic16f872 | cjgalway1000 | Micro Controllers | 0 | 7th April 2004 02:39 PM |