We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
How can ARMv8 memory mapped registers ( ex : EDITCTRL ) be programmed in assembly ?
Hello ravinder,
you have misunderstanding.
The ARMv8 specs only define offset address. They don't define the base address.
The base address is SoC specific.
The memory mapped registers are accessible by LDR/STR instructions.
However, to do do, it is needed the processor is in the debug mode.
In usual case, you would not access those registers.
Best regards,
Yasuhiko Koumoto.
Yasuhiko , Martin ,
Thanks for clearing this up for me .
Yes I understand now that it depends upon the memory map of the SoC and the accesses are steered to these debug registers via the SoC decoding logic / interconnect to the debug port ( APB ) of the cluster , where it is further decoded based on the register offsets and ROM tables .
Regards,
-Ravinder