This is the mail archive of the
mailing list for the GCC project.
array declaration and access
- From: Ed Acton <vulcanseven at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 8 Mar 2002 11:10:09 -0800 (PST)
- Subject: array declaration and access
I have trouble with declaring arrays. I want to use
array in my avrgcc code, using atmega128, but I don't
know how to declare the array. Do I do this:
arr: .byte 100 ; reserve 100 bytes
And I don't know how to access individual bit in the
array. I have to be able to access the bits to
represent whether a bank of light is on or off.
Thank you for any suggestions.
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!