Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8013

Bare metal, Assembly language • Re: SIMD LDR from device memory

$
0
0
They're volatile in C/C++ :)

eg:

Code:

#define SDRSP0 (volatile unsigned int*)(SDHOST_BASE + 0x10)
But the issue is really in the assembly instructions... I can replicate the same problem with hand generated assembly code trying to read from those register addresses.

Statistics: Posted by willdieh — Thu May 16, 2024 8:49 pm



Viewing all articles
Browse latest Browse all 8013

Trending Articles