summaryrefslogtreecommitdiff
path: root/tests/tcg/mips/mips64-dsp/head.S
blob: 9a099ae42fbb18da06dbd2db1f56d0a12df984d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 *  Startup Code for MIPS64 CPU-core
 *
 */
.text
.globl _start
.align 4
_start:
    ori    $2, $2, 0xffff
    sll    $2, $2, 16
    ori    $2, $2, 0xffff
    mtc0   $2, $12, 0
    jal    main

end:
    b end