mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
0d70e3ecac
* Remove JP dump * Add new JP dump * Fix sort_symbol_addrs to only look at one version * Deduplicate and sort symbol_addrs * Clean up JP rom if conditions * Use /current dir for diffing * Fix state_step_logos * Add todo comments for unsplitted segments * Fix draw_merlee_message * rename background_gfx * Fix background_gfx * Fix JP build * Set unused data offsets to auto
35 lines
1.4 KiB
ArmAsm
35 lines
1.4 KiB
ArmAsm
.include "macro.inc"
|
|
|
|
/* assembler directives */
|
|
.set noat /* allow manual use of $at */
|
|
.set noreorder /* don't insert nops after branches */
|
|
.set gp=64 /* allow use of 64-bit general purpose registers */
|
|
|
|
.section .text, "ax"
|
|
|
|
/* Generated by spimdisasm 1.11.1 */
|
|
|
|
# Handwritten function
|
|
glabel osUnmapTLBAll
|
|
/* 41D30 80066930 40085000 */ mfc0 $t0, $10 # handwritten instruction
|
|
/* 41D34 80066934 2409001E */ addiu $t1, $zero, 0x1E
|
|
/* 41D38 80066938 3C0A8000 */ lui $t2, (0x80000000 >> 16)
|
|
/* 41D3C 8006693C 408A5000 */ mtc0 $t2, $10 # handwritten instruction
|
|
/* 41D40 80066940 40801000 */ mtc0 $zero, $2 # handwritten instruction
|
|
/* 41D44 80066944 40801800 */ mtc0 $zero, $3 # handwritten instruction
|
|
.LJP_80066948:
|
|
/* 41D48 80066948 40890000 */ mtc0 $t1, $0 # handwritten instruction
|
|
/* 41D4C 8006694C 00000000 */ nop
|
|
/* 41D50 80066950 42000002 */ tlbwi # handwritten instruction
|
|
/* 41D54 80066954 00000000 */ nop
|
|
/* 41D58 80066958 00000000 */ nop
|
|
/* 41D5C 8006695C 2129FFFF */ addi $t1, $t1, -0x1 # handwritten instruction
|
|
/* 41D60 80066960 0521FFF9 */ bgez $t1, .LJP_80066948
|
|
/* 41D64 80066964 00000000 */ nop
|
|
/* 41D68 80066968 40885000 */ mtc0 $t0, $10 # handwritten instruction
|
|
/* 41D6C 8006696C 03E00008 */ jr $ra
|
|
/* 41D70 80066970 00000000 */ nop
|
|
/* 41D74 80066974 00000000 */ nop
|
|
/* 41D78 80066978 00000000 */ nop
|
|
/* 41D7C 8006697C 00000000 */ nop
|