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 (Talcall moved page 00084758 - 0008476c to Move Unit Down+/Up-) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<font face='Courier New'> | <font face='Courier New'> | ||
+ | not float routine, whoops | ||
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> |
Latest revision as of 02:57, 16 March 2024
not float routine, whoops 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