view util/test_patterns.txt @ 389:2ec730e45ea1

Added check for recursive struct
author Windel Bouwman
date Fri, 16 May 2014 12:29:31 +0200
parents 6df89163e114
children 994c00d55fd5
line wrap: on
line source


mov r4, #100
===
mov sp, #0x6000
===
mov r3, sp
mov pc, lr
mov pc, r2
mov sp, r4
mov r5, r6
===
yield
===
push {r4, r5, r11, lr}
===
pop {r4,r5,r6}
===
sub r4,r5,#23
blt x
x:
mul r4,r5,r2
===
str r9, [r2, #33]
===
ldr r5, [r3, #87]
===
ldr r5, lab1
ldr r11, lab1
ldr r10, lab1
lab1:
.word 0x12345566
===
cmp r4, r11
cmp r5, #0x50000
===
adr r5, cval
adr r9, cval
adr r8, cval
cval:
adr r11, cval
adr r12, cval
adr r1, cval
pop {r2}
===
lsl r11, r5, r3
lsl r4, r8, r6
===
lsr r9, r0, r2
lsr r4, r8, r6
===
and r9, r0, r2
and r4, r8, r6
===
mcr p15, 0, r1, c2, c0, 0
mcr p14, 0, r1, c8, c7, 0
===
mrc p15, 0, r1, c2, c0, 0
mrc p14, 0, r1, c8, c7, 0
===
ldr r8, =a
a: