PRU - clear an event interrupt

Hello,
I have problem with the interrupts.

With this command I check if there is an interrupt
QBBS BACK_LOOP, r31, 30

How can I clear the interrupt?
I have tried to find a solution via from am335xPruReferenceGuide.pdf
"6.2.2.5 Interrupt Status Clearing

For clearing the status of an interrupt, whose interrupt number is N, write a 1 to the Nth bit position in the system interrupt status enabled/clear registers (SECR1-SECR2). System interrupt N can also be cleared by writing the value N into the system interrupt status indexed clear register (SICR)."

How can I do in practice?

.macro MOV32
.mparam dst, src
MOV dst.w0, src & 0xFFFF
MOV dst.w2, src >> 16
.endm

#define SICR_OFFSET 0x24
#define CONST_PRUSSINTC C0
#define temp32reg r10

// clear interrupt
MOV32 temp32reg, (0x00000000 | 21)
SBCO temp32reg, CONST_PRUSSINTC, SICR_OFFSET, 4