piclist 1996\05\01\173354a >
Thread: Defining data storage.
face BY : Andrew Warren email (remove spam text)

Bruce Coward <spamBeGonebruceRemoveMEspamRemoveMEcix.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


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.


Andrew Warren - fastfwdSTOPspamspam@spam@ix.netcom.com
Fast Forward Engineering, Vista, California

See also: www.piclist.com/techref/mems.htm?key=data
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Defining data storage.

month overview.

new search...