papermario/ver/us/asm/entry_point.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

36 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"
glabel entry_point
/* 1000 80025C00 3C08800A */ lui $t0, %hi(D_8009A5B0)
/* 1004 80025C04 2508A5B0 */ addiu $t0, $t0, %lo(D_8009A5B0)
/* 1008 80025C08 3C090004 */ lui $t1, 4
/* 100C 80025C0C 25291F50 */ addiu $t1, $t1, 0x1f50
.L80025C10:
/* 1010 80025C10 AD000000 */ sw $zero, ($t0)
/* 1014 80025C14 AD000004 */ sw $zero, 4($t0)
/* 1018 80025C18 21080008 */ addi $t0, $t0, 8
/* 101C 80025C1C 2129FFF8 */ addi $t1, $t1, -8
/* 1020 80025C20 1520FFFB */ bnez $t1, .L80025C10
/* 1024 80025C24 00000000 */ nop
/* 1028 80025C28 3C1D800B */ lui $sp, %hi(D_800B6590)
/* 102C 80025C2C 27BD6590 */ addiu $sp, $sp, %lo(D_800B6590)
/* 1030 80025C30 3C0A8006 */ lui $t2, %hi(nuBoot)
/* 1034 80025C34 254AE8B0 */ addiu $t2, $t2, %lo(nuBoot)
/* 1038 80025C38 01400008 */ jr $t2
/* 103C 80025C3C 00000000 */ nop
/* 1040 80025C40 00000000 */ nop
/* 1044 80025C44 00000000 */ nop
/* 1048 80025C48 00000000 */ nop
/* 104C 80025C4C 00000000 */ nop
/* 1050 80025C50 00000000 */ nop
/* 1054 80025C54 00000000 */ nop
/* 1058 80025C58 00000000 */ nop
/* 105C 80025C5C 00000000 */ nop