Created
January 22, 2016 07:03
-
-
Save yuriks/efaa7ff8608dd49169d7 to your computer and use it in GitHub Desktop.
Nested loop test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.constf foo0(0.1 , 0.0, 0.0 , 1.0) | |
.constf foo1(0.0 , 0.0, 0.0 , 1.0) | |
.constf foo2(0.0 , 0.0, 0.0 , 1.0) | |
.constf foo3(0.0 , 0.0, 0.11, 1.0) | |
.constf foo4(0.0 , 0.0, 0.0 , 1.0) | |
.constf foo5(0.0 , 0.0, 0.0 , 1.0) | |
.consti loopParams1(2, 0, 1, 0) | |
.consti loopParams2(2, 3, 1, 0) | |
.proc setcolor | |
nop | |
mov r0, black | |
for loopParams1 | |
nop | |
add r0, foo0[lcnt], r0 | |
nop | |
for loopParams2 | |
nop | |
add r0, foo0[lcnt], r0 | |
nop | |
.end | |
nop | |
.end | |
nop | |
.end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment