papermario/ver/us/asm/nonmatchings/code_B4580/func_8011FFB4.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

18 lines
716 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8011FFB4
/* B66B4 8011FFB4 18C00008 */ blez $a2, .L8011FFD8
/* B66B8 8011FFB8 0000382D */ daddu $a3, $zero, $zero
.L8011FFBC:
/* B66BC 8011FFBC 90A30003 */ lbu $v1, 3($a1)
/* B66C0 8011FFC0 00871021 */ addu $v0, $a0, $a3
/* B66C4 8011FFC4 24E70001 */ addiu $a3, $a3, 1
/* B66C8 8011FFC8 A0430015 */ sb $v1, 0x15($v0)
/* B66CC 8011FFCC 00E6102A */ slt $v0, $a3, $a2
/* B66D0 8011FFD0 1440FFFA */ bnez $v0, .L8011FFBC
/* B66D4 8011FFD4 24A50004 */ addiu $a1, $a1, 4
.L8011FFD8:
/* B66D8 8011FFD8 03E00008 */ jr $ra
/* B66DC 8011FFDC 00000000 */ nop