08-20-2020 08:17 PM - edited 08-20-2020 09:19 PM
I have a char array - 4 bytes, so I'm trying to cast char* to int* but the value of int is wrong.
I used mrd and noticed that MicroBlaze shows only addresses which are multiples of four.
So, if my array is starting not from multiple of four address, i can't cast it normally, am I right?
UPD: Is it normal that mrd shows only multiple of four addresses?
08-20-2020 08:41 PM
This seems to be a general topic about C programming, not something specific to Xilinx products.
How about running the same program code in another development environment such as Linux or Visual Studio?
Please mark the Answer as Accept as Solution if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
08-23-2020 07:42 AM
08-28-2020 06:03 PM