piclist 1996\05\01\173354a >
Thread: Defining data storage.
www.piclist.com/techref/mems.htm?key=data
face
flavicon
face BY : Andrew Warren email (remove spam text)



Bruce Coward <TakeThisOuTbruceEraseMEspam.....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 - RemoveMEfastfwdspamix.netcom.com
Fast Forward Engineering, Vista, California
http://www.geocities.com/SiliconValley/2499
<199605012135.OAA22738@dfw-ix11.ix.netcom.com>

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...