mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-24 05:47:35 -04:00
Cleaned up example assembly files some more.
This commit is contained in:
parent
65b6687630
commit
dc08a1f62f
2 changed files with 2 additions and 3 deletions
|
@ -68,7 +68,7 @@ loop4: ld %r1, %r0, array;
|
|||
jali %r5, printdec;
|
||||
trap; /* All traps currently cause a halt. */
|
||||
|
||||
.perm rw /* TODO: How should I write section permissions? */
|
||||
.perm rw
|
||||
|
||||
.global
|
||||
array: .space 0x1000 /* SIZE words of space. */
|
||||
|
|
|
@ -13,11 +13,10 @@
|
|||
.global
|
||||
entry: ldi %r7, hello
|
||||
jali %r5, puts
|
||||
ldi %r0, #2; /* i = 2 */
|
||||
|
||||
trap; /* All traps currently cause a halt. */
|
||||
|
||||
.perm rw /* TODO: How should I write section permissions? */
|
||||
.perm rw
|
||||
|
||||
hello:
|
||||
.byte 0x22
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue