* src/pic/device.c (sanitise_processor_name): only remove p(ic) prefix,
[fw/sdcc] / device / lib / pic / libsdcc / _gptrget1.S
index 81355d2172652f33ccfa1fb2a2a13fa40388ebdb..e87216a708dd917f064cb2ed88109690ce3258ab 100644 (file)
@@ -1,7 +1,7 @@
 ; -------------------------------------------------------------------------
 ;  _gptrget1.S - read one byte pointed to by a generic pointer
 ;
-;      Written By      Raphael Neider, rneider@web.de (2005)
+;      Written By      Raphael Neider <rneider AT web.de> (2005)
 ;
 ;  This library is free software; you can redistribute it and/or
 ;  modify it under the terms of the GNU Library General Public
@@ -58,15 +58,15 @@ __gptrget1:
 
 __dataptrget1:
        setup_fsr
-       movf    INDF, W
+       movf    _INDF, W
        return
 
 __codeptrget1:
        ; call the RETLW instruction at the given address
        movf    STK00, W
-       movwf   PCLATH
+       movwf   _PCLATH
        movf    STK01, W
-       movwf   PCL
+       movwf   _PCL
        return  ; should never be executed...
 
        END