Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. _draw_loop_4pixels:
  2. mov.l r8,@-r15
  3. mov r5,r2
  4. mov.l r9,@-r15
  5. mov r6,r9
  6. mov.l r10,@-r15
  7. mov r6,r10
  8. mov.l r11,@-r15
  9. mov r6,r11
  10. mov.l r12,@-r15
  11. add #2,r2
  12. mov.w ymask,r1 ! 138c <_draw_loop_4pixels+0xb8>,r1 ! fff
  13. add #3,r11
  14. mov.l r13,@-r15
  15. mov r5,r13
  16. mov.l srcxmask,r8 ! 1390 <_draw_loop_4pixels+0xbc>,r8 ! 0 <_congoRomInfo>
  17. ! addresse de srcxmask
  18. add #1,r13
  19. mov.l r14,@-r15
  20. add #2,r10
  21. mov r5,r14
  22. add #1,r9
  23. add #3,r5
  24. and r1,r14
  25. and r1,r13
  26. and r1,r2
  27. shll8 r6
  28. and r5,r1
  29. shll8 r11
  30. shll8 r10
  31. shll8 r9
  32. add #-12,r15
  33. shll8 r2
  34. shll8 r1
  35. add r8,r11
  36. add r8,r10
  37. add r8,r9
  38. add r6,r8
  39. mov.w z256,r6 ! 138e <_draw_loop_4pixels+0xba>,r6 ! 100
  40. shll8 r14
  41. mov.l r2,@(4,r15)
  42. shll8 r13
  43. mov.l r1,@(8,r15)
  44. mov #0,r5
  45. mov.l r4,@r15
  46. nop
  47. loop:
  48. mov.b @r11+,r7
  49. mov r5,r12
  50. mov.l @(8,r15),r0
  51. extu.b r7,r7 !utile
  52. mov.b @r10+,r1
  53. add r0,r7
  54. mov.l @(4,r15),r4
  55. extu.b r1,r1
  56. mov.l bitmap,r0 ! 1394 <_draw_loop_4pixels+0xc0>,r0 ! 280000
  57. add r4,r1
  58. mov.b @r9+,r3
  59. shll8 r12
  60. mov.b @(r0,r7),r7
  61. extu.b r3,r3
  62. mov.b @(r0,r1),r1
  63. shll16 r7
  64. !extu.b r1,r1
  65. shll8 r7
  66. shll16 r1
  67. add r13,r3
  68. mov.b @r8+,r2
  69. add r7,r1
  70. mov.b @(r0,r3),r7
  71. extu.b r2,r2
  72. extu.b r7,r7
  73. shll8 r7
  74. add r14,r2
  75. add r7,r1
  76. mov.b @(r0,r2),r7
  77. add r12,r12
  78. mov.l @r15,r0
  79. extu.b r7,r7
  80. add r1,r7
  81. mov.l r7,@(r0,r12)
  82. dt r6
  83. bf.s loop ! 132c <_draw_loop_4pixels+0x58>
  84. add #1,r5
  85. nop
  86. nop
  87. add #12,r15
  88. mov.l @r15+,r14
  89. mov.l @r15+,r13
  90. mov.l @r15+,r12
  91. mov.l @r15+,r11
  92. mov.l @r15+,r10
  93. mov.l @r15+,r9
  94. rts
  95. mov.l @r15+,r8
  96. mac.l @r15+,@r15+
  97. !clrmac
  98. .align 4
  99. !zero: .long 0
  100. bitmap: .long 0x280000
  101. srcxmask: .long _srcxmask
  102. ymask: .word 0xfff
  103. z256: .word 0x100
  104. .end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement