Arm Community
Site
Search
User
Site
Search
User
Groups
Education Hub
Arm Ambassadors
Open Source Software and Platforms
Research Collaboration and Enablement
Forums
AI and ML forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Arm Virtual Hardware forum
Automotive forum
Compilers and Libraries forum
Graphics, Gaming, and VR forum
High Performance Computing (HPC) forum
Infrastructure Solutions forum
Internet of Things (IoT) forum
Keil forum
Morello forum
Operating Systems forum
SoC Design and Simulation forum
SystemReady Forum
Blogs
AI and ML blog
Announcements
Architectures and Processors blog
Automotive blog
Graphics, Gaming, and VR blog
High Performance Computing (HPC) blog
Infrastructure Solutions blog
Internet of Things (IoT) blog
Operating Systems blog
SoC Design and Simulation blog
Tools, Software and IDEs blog
Support
Arm Support Services
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Support forums
Keil forum
uVision 5 - 8051F580 compiler --> macro to make P4 bit addressable
Jump...
Cancel
State
Accepted Answer
Replies
2 replies
Subscribers
20 subscribers
Views
622 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
How was your experience today?
uVision 5 - 8051F580 compiler --> macro to make P4 bit addressable
Fausto Bartra
4 months ago
any macros to make P4 bit addressable?
thank you
Fausto Bartra
Top replies
Hans Schneebauer
4 months ago
+2
verified
The SFR P4 is at address 0xB5. This address is not bit-addressable. You can only set or clear bits by using AND / OR operators that modify the whole SFR with a Read-Modify-Write instruction. Example: ...
Fausto Bartra
4 months ago
in reply to
Hans Schneebauer
+1
Thank you
Parents
0
Fausto Bartra
4 months ago
in reply to
Hans Schneebauer
Thank you
Cancel
Up
+1
Down
Reply
Accept answer
Cancel
Reply
0
Fausto Bartra
4 months ago
in reply to
Hans Schneebauer
Thank you
Cancel
Up
+1
Down
Reply
Accept answer
Cancel
Children
No data