Searching \ for 'PORT problem MPLAB' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: massmind.org/techref/ios.htm?key=port
Search entire site for: 'PORT problem MPLAB'.

Truncated match.
PICList Thread
'PORT problem MPLAB'
1997\10\04@221745 by Anthony Buckwell

flavicon
picon face
Hi There

PIC16c77

Im trying to send data to PORTD but it keeps sending to TRISE, In MPLAB

sample

"inc = p16c77.inc"

DATA            equ     PORTD
DATA_Tris       equ     TRISD
DATA_CNLT       equ     TRISE


; in program

       bcf     STATUS, RP0
       bcf     STATUS, RP1
       movlw   0x38
       movwf   DATA

(in MPLAB it keeps sending to TRISE) ???

thanks Anthony

thanks Anthony Buckwell

\\\\\\\\\\\\\\\\\\\\\\\\\\\\////////////////////////////

Anthony Buckwell
School Of Microelectronics, Faculty Of Engineering
Griffth University-Nathan, Brisbane, QLD     4111
AUSTRALIA

Ph:     +61 7 3875 5061         Ph: 0419 783 109
Fax:    +61 7 3875 3854

////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\

1997\10\06@142015 by Tjabo Kloppenburg

flavicon
face
hi Anthony,

> DATA            equ     PORTD
> DATA_Tris       equ     TRISD
> DATA_CNLT       equ     TRISE

I don't know the 16c77, but perhaps MPLAB doesn't like "_", or it uses
only the first 4 characters in recognizing labels.

I suggest using different labels:

 DATA            equ     PORTD
 TrisDATA        equ     TRISD
 CNLTDATAT       equ     TRISE

hope it helps,
--
tk.

: Tjabo Kloppenburg
: Student der Technischen Datenverarbeitung
: http://www.rs.uni-siegen.de/studenten/tjabo
: Picproject: click 'projekt' button on first page (german)

More... (looser matching)
- Last day of these posts
- In 1997 , 1998 only
- Today
- New search...