papermario/ver/jp/asm/os/osUnmapTLB.s
Marijn van der Werf 0d70e3ecac
Build main segment in JP (#939)
* 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
2023-02-17 11:06:56 +09:00

30 lines
1.2 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 osUnmapTLB
/* 41CF0 800668F0 40085000 */ mfc0 $t0, $10 # handwritten instruction
/* 41CF4 800668F4 40840000 */ mtc0 $a0, $0 # handwritten instruction
/* 41CF8 800668F8 3C098000 */ lui $t1, (0x80000000 >> 16)
/* 41CFC 800668FC 40895000 */ mtc0 $t1, $10 # handwritten instruction
/* 41D00 80066900 40801000 */ mtc0 $zero, $2 # handwritten instruction
/* 41D04 80066904 40801800 */ mtc0 $zero, $3 # handwritten instruction
/* 41D08 80066908 00000000 */ nop
/* 41D0C 8006690C 42000002 */ tlbwi # handwritten instruction
/* 41D10 80066910 00000000 */ nop
/* 41D14 80066914 00000000 */ nop
/* 41D18 80066918 00000000 */ nop
/* 41D1C 8006691C 00000000 */ nop
/* 41D20 80066920 40885000 */ mtc0 $t0, $10 # handwritten instruction
/* 41D24 80066924 03E00008 */ jr $ra
/* 41D28 80066928 00000000 */ nop
/* 41D2C 8006692C 00000000 */ nop