piclist 1998\10\26\114958a >
Thread: What's the difference between d and f?
face BY : Michael Hagberg email (remove spam text)

in the processor include file the register are defined
;       Register Definitions

W                            EQU     H'0000'
F                            EQU     H'0001'

;----- Register Files------------------------------------------------------

INDF                         EQU     H'0000'
TMR0                         EQU     H'0001'
PCL                          EQU     H'0002'
STATUS                       EQU     H'0003'
FSR                          EQU     H'0004'
PORTA                        EQU     H'0005'
PORTB                        EQU     H'0006'
EEDATA                       EQU     H'0008'
EEADR                        EQU     H'0009'
PCLATH                       EQU     H'000A'
INTCON                       EQU     H'000B'

this means the the assembler will see the following as all alike.
   movf    5,0
   movf    5,W
   movf    porta,0
   movf    porta,w    ; this is the easiest to understand


You may leave the list at any time by writing "SIGNOFF PICLIST" in the
   body of a message to LISTSERVspam_OUTspamEraseMEMITVMA.MIT.EDU.

{Original Message removed}
<005a01be0100$c85e3ec0$7e3ce6cf@michael> 7bit

See also: www.piclist.com/techref/index.htm?key=whats+difference
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) What's the difference between d and f?

month overview.

new search...