mirror of
https://github.com/pmret/papermario.git
synced 2024-11-19 09:22:30 +01:00
16 lines
576 B
ArmAsm
16 lines
576 B
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
.include "include/macro.inc"
|
|
|
|
glabel counter
|
|
/* 04605C 8006AC5C 40095800 */ mfc0 $t1, $11
|
|
/* 046060 8006AC60 40895800 */ mtc0 $t1, $11
|
|
/* 046064 8006AC64 24040018 */ addiu $a0, $zero, 0x18
|
|
/* 046068 8006AC68 0C01ABDF */ jal send_mesg
|
|
/* 04606C 8006AC6C 00000000 */ nop
|
|
/* 046070 8006AC70 3C01FFFF */ lui $at, 0xffff
|
|
/* 046074 8006AC74 34217FFF */ ori $at, $at, 0x7fff
|
|
/* 046078 8006AC78 1000FFE4 */ b .L8006AC0C
|
|
/* 04607C 8006AC7C 02018024 */ and $s0, $s0, $at
|