summaryrefslogtreecommitdiff
path: root/masm/test.asm
blob: d848d298b3655590be02d05314afa8cb5f23ce64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.rodata
gay:
.word 3


.data

str:
.ascii "hello world"

.text
.align 2

.globl main

main:
        add     $zero,$t7,$t7
        xori    $a0, $v1, 69
        addi    $a0, $v1, 69
        nor     $s0, $s1, $s2

        bltzall $s7, 0x50

        lui     $t7, 0x55
        lw      $t0, 18($t7)

        sll     $t0, $s0, 17
test:
        mult    $a0, $s6

        mfhi    $s0
        mtlo    $s7

        j test