Advertisement
Guest User

Untitled

a guest
Dec 18th, 2014
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. these were separate files, i replaced regional and national both with 721 (iirc)
  2.  
  3. @ 0810352C: 00 49 08 47 D1 22 86 08
  4.  
  5. .include "config.s"
  6.  
  7. .text
  8. .align 2
  9. .thumb_func
  10.  
  11. main:
  12. ldr r1, =(REGIONAL)
  13. str r1, [sp]
  14. cmp r0, #0
  15. beq end
  16. ldr r2, =(NATIONAL)
  17. str r2, [sp]
  18.  
  19. end:
  20. ldr r0, =(0x810353A + 1)
  21. bx r0
  22.  
  23. --
  24.  
  25. @ 081035F0: 00 49 08 47 F1 22 86 08
  26.  
  27. .include "config.s"
  28.  
  29. .text
  30. .align 2
  31. .thumb_func
  32.  
  33. main:
  34. str r2, [r3, #4]
  35. mov r8, r9
  36. mov r0, r8
  37. ldr r1, =(REGIONAL - 1)
  38. cmp r0, r1
  39. bls under
  40. ldr r0, =(0x8103906 + 1)
  41. bx r0
  42.  
  43. under:
  44. ldr r0, =(0x0810356C + 1)
  45. bx r0
  46.  
  47.  
  48. --
  49. @ 08104BF0: 00 49 08 47 11 23 86 08
  50.  
  51. .include "config.s"
  52.  
  53. .text
  54. .align 2
  55. .thumb_func
  56.  
  57. main:
  58. mov r0, r4
  59. ldr r1, =(REGIONAL - 1)
  60. cmp r0, r1
  61. bls under
  62. ldr r2, =(0x08104C1E + 1)
  63. bx r2
  64.  
  65. under:
  66. ldr r0, =(0x08104BD4 + 1)
  67. bx r0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement