Searching \ for 'Defining data storage.' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/mems.htm?key=data
Search entire site for: 'Defining data storage.'.

Truncated match.
PICList Thread
'Defining data storage.'
1996\05\01@163749 by bruce

flavicon
face
In-Reply-To: <spam_OUT199604300533.WAA16735TakeThisOuTspamdfw-ix9.ix.netcom.com>> How do you define a sequential group of data registers i.e. reg 20 thru
reg 2f as a contiguous buffer for receiving serial data over the comms
link?

There has to be a better way than

RX_BUFA equ     0x20
RX_BUFB equ     0x21

etc etc.

Bruce

1996\05\01@173354 by Andrew Warren

face
flavicon
face
Bruce Coward <.....bruceKILLspamspam@spam@cix.compulink.co.uk> wrote:

> How do you define a sequential group of data registers i.e. reg 20
> thru reg 2f as a contiguous buffer for receiving serial data over
> the comms link?
>
> There has to be a better way than
>
> RX_BUFA equ     0x20
> RX_BUFB equ     0x21

Bruce:

Use MPASM's "CBLOCK" directive, or the "RESERVE" macros I posted here
a couple months ago.  Ignore anyone who suggests using the "DS" or
"RES" directives.

-Andy

Andrew Warren - fastfwdspamKILLspamix.netcom.com
Fast Forward Engineering, Vista, California
http://www.geocities.com/SiliconValley/2499

1996\05\02@143600 by bruce

flavicon
face
In-Reply-To: <.....199605012135.OAA22738KILLspamspam.....dfw-ix11.ix.netcom.com>> > Bruce:
>
> Use MPASM's "CBLOCK" directive, or the "RESERVE" macros I posted here
> a couple months ago.  Ignore anyone who suggests using the "DS" or
> "RES" directives.
>
> -Andy

Thats what I have ended up doing. To try and cut down the intermediate
bit name typing I have ended up as follows

       cblock
RX_BUF
r1
r2
r3
r4
r5
r6
r7
r8
r9
       endc

Ends up being useful to identify bytes when using MPSIM or the emulator
also!

Many thanks

Bruce

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