We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Dear All,
I am running a led toggle sub-routine in infinite loop for Cortex M33 on MPS2+ FPGA Board, want to calculate cycle count in one iteration.
ToggleLED_Subroutine PROC
LDR R0, =0x40302000 ;FPGAIO Base Address(0x40302000) + LED_OFFSET(0) MOV R2,#3
Loop LDR R1, [R0] EOR R1,R1,R2 STR R1,[R0] B Loop ENDP
Please assist me to do this
Thanks a lot.