Hello,
I am having a hard time getting the content pointed by a pointer address on the CLA. When running this code (crc32) on the CPU, it does work.
Could someone tell me what is going on? Thank you.
I ran the code step by step on the CLA checking the register and here is my finding.
The variable "buf" address is 0x83A1, its content is 0x8800 (per the picture the content pointed by 0x8800 should be 0x83B6).
0000943C: MAR0 = 0x8800 (=buf per the highlighted register)
00009442 MR1 = 0xFF
00009444: MR0 = *MAR0 (*buf) ==> MR0 does not get the content pointed by buf, MR0 = 0 (see highlighted register)
Instructions 00009446 and 00009448 => temp = *buf & 0xFF


