Difference between revisions of "Move Unit Down+/Up-"
Jump to navigation
Jump to search
(Created page with "<font face='Courier New'> 00084758: 00052e00 sll r5,r5,0x18 0008475c: 94820052 lhu r2,0x0052(r4) 00084760: 00052e03 sra r5,r5,0x18 00084764: 00a22821 addu r5,r5,r2 0008...") |
m |
||
Line 1: | Line 1: | ||
<font face='Courier New'> | <font face='Courier New'> | ||
+ | Float routine? | ||
00084758: 00052e00 sll r5,r5,0x18 | 00084758: 00052e00 sll r5,r5,0x18 | ||
− | 0008475c: 94820052 lhu r2,0x0052(r4) | + | 0008475c: 94820052 lhu r2,0x0052(r4) loads unit height(?) |
00084760: 00052e03 sra r5,r5,0x18 | 00084760: 00052e03 sra r5,r5,0x18 | ||
− | 00084764: 00a22821 addu r5,r5,r2 | + | 00084764: 00a22821 addu r5,r5,r2 Add r5 to height |
00084768: 03e00008 jr r31 | 00084768: 03e00008 jr r31 | ||
− | 0008476c: a4850052 sh r5,0x0052(r4) | + | 0008476c: a4850052 sh r5,0x0052(r4) save new height |
</font> | </font> |
Revision as of 07:15, 26 July 2021
Float routine? 00084758: 00052e00 sll r5,r5,0x18 0008475c: 94820052 lhu r2,0x0052(r4) loads unit height(?) 00084760: 00052e03 sra r5,r5,0x18 00084764: 00a22821 addu r5,r5,r2 Add r5 to height 00084768: 03e00008 jr r31 0008476c: a4850052 sh r5,0x0052(r4) save new height