Arm Community
Site
Search
User
Site
Search
User
Groups
Arm Research
DesignStart
Education Hub
Graphics and Gaming
High Performance Computing
Innovation
Multimedia
Open Source Software and Platforms
Physical
Processors
Security
System
Software Tools
TrustZone for Armv8-M
中文社区
Blog
Announcements
Artificial Intelligence
Automotive
Healthcare
HPC
Infrastructure
Innovation
Internet of Things
Machine Learning
Mobile
Smart Homes
Wearables
Forums
All developer forums
IP Product forums
Tool & Software forums
Support
Open a support case
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Developer Community
IP Products
Processors
Jump...
Cancel
Processors
Classic processors forum
bit addressable arrays in ARM9
Blogs
Forums
Videos & Files
Help
Jump...
Cancel
New
State
Accepted Answer
+1
person also asked this
people also asked this
Replies
4 replies
Subscribers
2 subscribers
Views
3000 views
Users
0 members are here
Address
Arm9
Keil
Related
bit addressable arrays in ARM9
Offline
sgupta sgupta
over 7 years ago
Note: This was originally posted on 5th January 2009 at
http://forums.arm.com
plz help me by telling hw we can use bit addressable arrays menas arrays that can be used bitwise..while programming through keil microvision , is there any option available??? plz help..
Top replies
Offline
Jacob Bramley
over 7 years ago
+1
verified
Note: This was originally posted on 5th January 2009 at http://forums.arm.com I don't know of any language that natively supports bit-addressable arrays, as they are only really useful in very specific...
Parents
+1
Offline
Jacob Bramley
over 7 years ago
Note: This was originally posted on 5th January 2009 at
http://forums.arm.com
I don't know of any language that natively supports bit-addressable arrays, as they are only really useful in very specific circumstances. In most languages, you will need to use bit-fiddling logic to implement bit-addressable arrays. The code to implement them is fairly simple but often not worthwhile.
Are you using the C language? If so, consider a solution using a combination of a simple array, bit shifts and some form of fixed-point arithmetic to act as the addressing mechanism. You'll need to write special functions or macros to act as accessors as C's array notation will not suffice by itself here.
Cancel
Up
+1
Down
Reply
Reject answer
Cancel
Reply
+1
Offline
Jacob Bramley
over 7 years ago
Note: This was originally posted on 5th January 2009 at
http://forums.arm.com
I don't know of any language that natively supports bit-addressable arrays, as they are only really useful in very specific circumstances. In most languages, you will need to use bit-fiddling logic to implement bit-addressable arrays. The code to implement them is fairly simple but often not worthwhile.
Are you using the C language? If so, consider a solution using a combination of a simple array, bit shifts and some form of fixed-point arithmetic to act as the addressing mechanism. You'll need to write special functions or macros to act as accessors as C's array notation will not suffice by itself here.
Cancel
Up
+1
Down
Reply
Reject answer
Cancel
Children
No data
More questions in this forum
By title
By date
By reply count
By view count
By most asked
By votes
By quality
Descending
Ascending
All recent questions
Unread questions
Questions you've participated in
Questions you've asked
Unanswered questions
Answered questions
Questions with suggested answers
Questions with no replies
Answered
MIPS Calculation on ARMv7
+1
Armv7-A
Armv7-M
Arm9
7664
views
5
replies
Latest
over 4 years ago
by
Yasuhiko Koumoto
Answered
Why does ARM have 64KB Large Pages?
0
Arm7
Memory Management Unit (MMU)
3120
views
1
reply
Latest
over 4 years ago
by
Yasuhiko Koumoto
Answered
What is the difference between instruction prefetch and instruction pipelining in arm7tdmi?
+1
Arm7
7594
views
6
replies
Latest
over 4 years ago
by
Yasuhiko Koumoto
Answered
can anyone tell me the difference between pipelined bus and depipelined bus?and i have uploaded two screen shot of both so what does that arrow from mclk to a[31:0] indicates?
0
Arm7
8674
views
9
replies
Latest
over 4 years ago
by
Colin Campbell
Answered
Modified harvard architecture
0
Arm7
19029
views
13
replies
Latest
over 5 years ago
by
G. Goodwin L. Pitos
<
>
View all questions in Classic processors forum