papermario/ver/us/asm/nonmatchings/code_41880/osTimerServicesInit.s
alex a4e1c2f522
Add versioning (#187)
* fix vscode cpp extension messing with files.associations

* move stuff

* it builds!

* symlink papermario.us.z64

* ci: put baserom in right place

* add jp

* fix splat dir

* ignore starrod dump

* .s deps

* update jenkins

* add dsl back

* configure.py versions

* wups

* fine ethan

* fix paths

* configure: default to only the version(s) with existing baseroms

* fix coverage

* fix progress.py

* progress.py verisoning

* remove format.sh from CONTRIBUTING

* update CONTRIBUTING

* fix first_diff

* diff.py: use ver/current/

* update splat.yaml

* trying to fix subrepo

* git subrepo pull tools/splat

subrepo:
  subdir:   "tools/splat"
  merged:   "06a737f02d"
upstream:
  origin:   "https://github.com/ethteck/splat.git"
  branch:   "master"
  commit:   "06a737f02d"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

* configure fix

* git subrepo pull tools/splat

subrepo:
  subdir:   "tools/splat"
  merged:   "41786effd3"
upstream:
  origin:   "https://github.com/ethteck/splat.git"
  branch:   "master"
  commit:   "41786effd3"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2021-02-22 18:21:23 +09:00

26 lines
1.3 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel osTimerServicesInit
/* 41880 80066480 3C028009 */ lui $v0, %hi(D_80094670)
/* 41884 80066484 8C424670 */ lw $v0, %lo(D_80094670)($v0)
/* 41888 80066488 00002021 */ addu $a0, $zero, $zero
/* 4188C 8006648C 00002821 */ addu $a1, $zero, $zero
/* 41890 80066490 3C01800A */ lui $at, %hi(D_8009A608)
/* 41894 80066494 AC24A608 */ sw $a0, %lo(D_8009A608)($at)
/* 41898 80066498 3C01800A */ lui $at, %hi(D_8009A60C)
/* 4189C 8006649C AC25A60C */ sw $a1, %lo(D_8009A60C)($at)
/* 418A0 800664A0 3C01800A */ lui $at, %hi(D_8009A5C8)
/* 418A4 800664A4 AC20A5C8 */ sw $zero, %lo(D_8009A5C8)($at)
/* 418A8 800664A8 3C01800A */ lui $at, %hi(D_8009A5E4)
/* 418AC 800664AC AC20A5E4 */ sw $zero, %lo(D_8009A5E4)($at)
/* 418B0 800664B0 AC440010 */ sw $a0, 0x10($v0)
/* 418B4 800664B4 AC450014 */ sw $a1, 0x14($v0)
/* 418B8 800664B8 AC440008 */ sw $a0, 8($v0)
/* 418BC 800664BC AC45000C */ sw $a1, 0xc($v0)
/* 418C0 800664C0 AC420004 */ sw $v0, 4($v0)
/* 418C4 800664C4 AC420000 */ sw $v0, ($v0)
/* 418C8 800664C8 AC400018 */ sw $zero, 0x18($v0)
/* 418CC 800664CC 03E00008 */ jr $ra
/* 418D0 800664D0 AC40001C */ sw $zero, 0x1c($v0)