Shop OBEX P1 Docs P2 Docs Learn Events
bit''s from slot to slot — Parallax Forums

bit''s from slot to slot

ArchiverArchiver Posts: 46,084
edited 2002-02-09 06:17 in General Discussion
>That can be words, bytes, nibs or bits, or any mixture of
> > the types. The Stamp allocates space for all the words first, in the
> > order you define them in your program. Following the words in RAM it
> > allocates space for all the bytes in your program, again in the order
> > they appear in your definitions. Then come the nibs and then the
> > bits. And within each group, the space is allocated in the order you
> > define them in your program.

Just to point out a feature of the IDE: When you press the CTRL-M,
(ALT-M in the dos ide), the memory map shows the RAM allocation with
all the words first, then bytes, nibs and bits in order. It does not
show you the variable names on top of the memory map, but rest
assured that within each category of variable, the memory is
allocated in the order the variables are defined in your program.

-- Tracy
Sign In or Register to comment.