.set VIDMEM, 0x40000000 mov r0, #0xff880000 ; RGB value mov r1, #VIDMEM ; memory start LOOP2: mov r2, #160*128 ; word count LOOP: str r0, [r1, r2, lsl #2] sub r2, r2, #1 cmp r2, #0 bge LOOP add r0, r0, #0xf002 cmp r0, #0 blt LOOP2 .ualong 0x11223344 ; illegal instruction