Advertisement
Guest User

Untitled

a guest
Nov 8th, 2022
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 KB | None | 0 0
  1. //everything above this line is executed
  2. global_state.particles = [_]Particle{.{}} ** MAX_PARTICLES;
  3. 6003633e: 983c ldr r0, [sp, #240] ; 0xf0
  4. 60036340: f500 60f7 add.w r0, r0, #1976 ; 0x7b8
  5. 60036344: f242 61b8 movw r1, #9912 ; 0x26b8
  6. 60036348: f2c6 0100 movt r1, #24576 ; 0x6000
  7. 6003634c: f44f 52c0 mov.w r2, #6144 ; 0x1800
  8. 60036350: f025 fc68 bl 6005bc24 <__aeabi_memcpy8>
  9. 60036354: 980a ldr r0, [sp, #40] ; 0x28
  10. 60036356: 990b ldr r1, [sp, #44] ; 0x2c
  11. //this line below is line 275, which is not printed
  12. logToConsole("Hit line %d SP: 0x%X[SP+240]: 0x%X", @src().line, asm volatile ("mov %[sptr], sp"
  13. 60036358: f8d1 c000 ldr.w ip, [r1]
  14. 6003635c: 466a mov r2, sp
  15. 6003635e: 9b3c ldr r3, [sp, #240] ; 0xf0
  16. 60036360: f240 1113 movw r1, #275 ; 0x113
  17.  
  18.  
  19. 60036364: 47e0 blx ip ;I am thinking this is probably not executed
  20.  
  21.  
  22.  
  23. 6005bc24 <__aeabi_memcpy8>:
  24. 6005bc24: f7ff bfb8 b.w 6005bb98 <__aeabi_memcpy>
  25.  
  26. 6005bb98 <__aeabi_memcpy>:
  27. 6005bb98: b5b0 push {r4, r5, r7, lr}
  28. 6005bb9a: af02 add r7, sp, #8
  29. 6005bb9c: b39a cbz r2, 6005bc06 <__aeabi_memcpy+0x6e>
  30. 6005bb9e: 780d ldrb r5, [r1, #0]
  31. 6005bba0: 1e53 subs r3, r2, #1
  32. 6005bba2: 7005 strb r5, [r0, #0]
  33. 6005bba4: d02f beq.n 6005bc06 <__aeabi_memcpy+0x6e>
  34. 6005bba6: f013 0e03 ands.w lr, r3, #3
  35. 6005bbaa: f1a2 0c02 sub.w ip, r2, #2
  36. 6005bbae: d01c beq.n 6005bbea <__aeabi_memcpy+0x52>
  37. 6005bbb0: 460c mov r4, r1
  38. 6005bbb2: 4605 mov r5, r0
  39. 6005bbb4: f1be 0f01 cmp.w lr, #1
  40. 6005bbb8: f814 3f01 ldrb.w r3, [r4, #1]!
  41. 6005bbbc: f805 3f01 strb.w r3, [r5, #1]!
  42. 6005bbc0: d101 bne.n 6005bbc6 <__aeabi_memcpy+0x2e>
  43. 6005bbc2: 4663 mov r3, ip
  44. 6005bbc4: e009 b.n 6005bbda <__aeabi_memcpy+0x42>
  45. 6005bbc6: 460c mov r4, r1
  46. 6005bbc8: 4605 mov r5, r0
  47. 6005bbca: f1be 0f02 cmp.w lr, #2
  48. 6005bbce: f814 3f02 ldrb.w r3, [r4, #2]!
  49. 6005bbd2: f805 3f02 strb.w r3, [r5, #2]!
  50. 6005bbd6: d103 bne.n 6005bbe0 <__aeabi_memcpy+0x48>
  51. 6005bbd8: 1ed3 subs r3, r2, #3
  52. 6005bbda: 4628 mov r0, r5
  53. 6005bbdc: 4621 mov r1, r4
  54. 6005bbde: e004 b.n 6005bbea <__aeabi_memcpy+0x52>
  55. 6005bbe0: f811 3f03 ldrb.w r3, [r1, #3]!
  56. 6005bbe4: f800 3f03 strb.w r3, [r0, #3]!
  57. 6005bbe8: 1f13 subs r3, r2, #4
  58. 6005bbea: f1bc 0f03 cmp.w ip, #3
  59. 6005bbee: bf38 it cc
  60. 6005bbf0: bdb0 popcc {r4, r5, r7, pc}
  61. 6005bbf2: 2200 movs r2, #0
  62. 6005bbf4: 1885 adds r5, r0, r2
  63. 6005bbf6: 188c adds r4, r1, r2
  64. 6005bbf8: 3204 adds r2, #4
  65. 6005bbfa: 4293 cmp r3, r2
  66. 6005bbfc: f8d4 4001 ldr.w r4, [r4, #1]
  67. 6005bc00: f8c5 4001 str.w r4, [r5, #1]
  68. 6005bc04: d1f6 bne.n 6005bbf4 <__aeabi_memcpy+0x5c>
  69. 6005bc06: bdb0 pop {r4, r5, r7, pc}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement