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

Truncated match.
PICList Thread
'assembler warnings'
1997\11\25@055509 by Richard Manley Set Piclist Digest

picon face
Can someone please tell me why I get asembly warning at the points marked
with a ******
the code is a sample for a 16c63 and works fine
All the equates are correctly assigned and I'm under the impression that this
is an incorrect but operable way of doing what I want?

start           bsf              status,rp0          ;switch to bank 1
                   movlw              b'00000000'        ;outputs
                movwf           trisa  ********
                  movwf              trisb  ********
                  bcf              status,rp0          ;switch back to bank 0
                   movlw             b'00000000'        ;all outputs low
                   movwf              porta

Thank you    Richard
spam_OUTRmanTakeThisOuTspamaol.com

1997\11\25@061829 by obo (Ingenieria Fotonica)

flavicon
face
At 05:53 25/11/97 -0500, you wrote:
>Can someone please tell me why I get asembly warning at the points marked
>with a ******
>the code is a sample for a 16c63 and works fine
>All the equates are correctly assigned and I'm under the impression that this
>is an incorrect but operable way of doing what I want?
>
>start           bsf              status,rp0          ;switch to bank 1
>                    movlw              b'00000000'        ;outputs
>                 movwf           trisa  ********
>                   movwf              trisb  ********
>                   bcf              status,rp0          ;switch back to
bank 0
>                    movlw             b'00000000'        ;all outputs low
>                    movwf              porta
>
>Thank you    Richard
>.....RmanKILLspamspam@spam@aol.com

Hi, I think that the assembler is telling you just to remember that
'trisa' and 'trisb' are in the bank 1, and the code is OK because you have
already set the RP0 bit. My last programm has 39 of these warnings!
Adolfo.



-----------------------------------------------------------------------
|         Adolfo Cobo Garcia  -  UNIVERSIDAD DE CANTABRIA               |
|    E.T.S.I.I. y Telecomunicacion, Grupo de Ingenieria Fotonica        |
|        Avda. Los Castros s/n  E-39005  Santander  SPAIN               |
|  Tfno. +34-42-201539  Fax +34-42-201873  Email: acobospamKILLspamteisa.unican.es |
-----------------------------------------------------------------------

1997\11\25@100628 by mike

flavicon
picon face
In message  <3.0.3.32.19971125122009.00767b28@193.144.187.40>
.....PICLISTKILLspamspam.....MITVMA.MIT.EDU writes:
{Quote hidden}

Adolpo and Richard,

if you AND the tris register with 7fh the warnings disappear:

  movwf  trisa & 7fh


Regards,

Mike Watson

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