i do, use INDF and FSR.
load movlw startingaddress
movwf fsr
movlw d'240'
movwf counter
loop call serialroutine
movwf indf
decfsz counter,f
goto loop
return
andy
----- Original Message -----
From: "alf schuster"
To:
Sent: Wednesday, December 05, 2001 8:19 AM
Subject: [PIC]: Continous memory block of 240 bytes on 16C876?
> Hi, I have following problem:
> My intention is to buffer serial data from a RS232 interface which works
>
> at a baud rate of 115.2kB and give the buffered data out every 10ms
> sequently.
> I have to receive and store 240 bytes of data from the serial port.
> Is there a simple method to make the storing routine thinking that it
> has a continous RAM of 240 bytes length?
> Every solution is wellcome!
> Thanks in advance - A. Schuster
>
> --
> http://www.piclist.com hint: The PICList is archived three different
> ways. See http://www.piclist.com/#archives for details.
>
>
--
http://www.piclist.com hint: The PICList is archived three different
ways. See http://www.piclist.com/#archives for details.