summaryrefslogtreecommitdiff
path: root/data/cic6105.s
blob: 5020669e2ea73f4ba3ca33cec5371c6409073454 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.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

.balign 16

/* RSP code for cic6105.c, used only in N64 versions. */
 glabel cic6105TextStart
    .word 0xE80C2001 # sqv     $v12[0], 0x10($zero)
    .word 0x34014000 # li      $1, SP_SET_SIG2
    .word 0x40812000 # mtc0    $1, SP_STATUS
    .word 0x0000000D # break
    .word 0x00000000 # nop
    .word 0x09000425 # j       0x04001094
    .word 0x00000000 #  nop
    .word 0x00000000 # nop
glabel cic6105TextEnd