08-20-2020 08:17 PM - edited 08-20-2020 09:19 PM
I have a char array[4] - 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
Hi @McUsuf
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?
Thank you
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-20-2020 08:44 PM
08-23-2020 07:42 AM
Hi @McUsuf
The following articles may also be helpful to you.
Thank you
Don't forget to reply, Kudo, and Accept as Solution.
08-28-2020 06:03 PM
Hi @McUsuf
If already issue has resolved, Kudo, and Accept as Solution.
If you have any questions, you can post them.
Thank you.