PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/G2/test_1.asm

http://github.com/efs/Arkitektur-g-opgave-1
Assembly | 20 lines | 16 code | 4 blank | 0 comment | 0 complexity | bcb72283b0bbea69b117f0d8e0eeb25e MD5 | raw file
 1main:   addiu   $t0, $zero, 5
 2        addiu   $t1, $zero, 6
 3        addiu   $t2, $zero, 7
 4
 5        addu    $t3, $t0, $t1
 6        addu    $t4, $t3, $t2
 7
 8        sw      $t4, 1024($zero)
 9
10        subu    $t1, $t4, $t3
11        slt     $t5, $t1, $t4
12
13        lw      $t6, 1024($zero)
14        addu    $t7, $t6, $t5
15        addu    $t8, $t8, $t7
16        addiu   $t8, $t8, 1
17        addiu   $t8, $t8, 1
18        addiu   $t8, $t8, 1
19        addiu   $t8, $t8, 1
20        addiu   $t8, $t8, 1