• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.globl crash1
2.type crash1, %function
3crash1:
4	ldr r0, =0xa5a50000
5	ldr r1, =0xa5a50001
6	ldr r2, =0xa5a50002
7	ldr r3, =0xa5a50003
8	ldr r4, =0xa5a50004
9	ldr r5, =0xa5a50005
10	ldr r6, =0xa5a50006
11	ldr r7, =0xa5a50007
12	ldr r8, =0xa5a50008
13	ldr r9, =0xa5a50009
14	ldr r10, =0xa5a50010
15	ldr r11, =0xa5a50011
16	ldr r12, =0xa5a50012
17
18
19	fconstd   d0, #0
20	fconstd   d1, #1
21	fconstd   d2, #2
22	fconstd   d3, #3
23	fconstd   d4, #4
24	fconstd   d5, #5
25	fconstd   d6, #6
26	fconstd   d7, #7
27	fconstd   d8, #8
28	fconstd   d9, #9
29	fconstd   d10, #10
30	fconstd   d11, #11
31	fconstd   d12, #12
32	fconstd   d13, #13
33	fconstd   d14, #14
34	fconstd   d15, #15
35#if defined(HAS_VFP_D32)
36	fconstd   d16, #16
37	fconstd   d17, #17
38	fconstd   d18, #18
39	fconstd   d19, #19
40	fconstd   d20, #20
41	fconstd   d21, #21
42	fconstd   d22, #22
43	fconstd   d23, #23
44	fconstd   d24, #24
45	fconstd   d25, #25
46	fconstd   d26, #26
47	fconstd   d27, #27
48	fconstd   d28, #28
49	fconstd   d29, #29
50	fconstd   d30, #30
51	fconstd   d31, #31
52#endif
53
54	mov lr, #0
55	ldr lr, [lr]
56	b .
57
58.globl crashnostack
59.type crashnostack, %function
60crashnostack:
61	mov sp, #0
62	mov r0, #0
63	ldr r0, [r0]
64	b .
65