Hi team,
I have to reuse my BS-RAM memory after a computation. The only way I can clear the sheets is by the following code -
clear_bs .macro P
xout 0x1E, &R10, 2
loop EndLoop, P
xout 0x1E, &R2, 32
add r10,r10, 1
xout 0x1E, &r10, 2
EndLoop:
This typically takes 6 cycles or more. I would like to do this similar to zero &r2, 120 instruction where al the registers are cleared in one go.
Can you help me determine if a similar instruction can accomplish this to clear the BS_RAM sheets?
Additionally: Can I access the BS_RAM using the R5 core just to clear the sheets/ Reset BS-RAM memory?
Best Regards,
Madhurya