diff options
Diffstat (limited to 'prog/src/startup.s')
-rw-r--r-- | prog/src/startup.s | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/prog/src/startup.s b/prog/src/startup.s index 7adfb5e..963c288 100644 --- a/prog/src/startup.s +++ b/prog/src/startup.s @@ -1,6 +1,23 @@ .section .init .globl _start _start: + +prog: +/* + la t0, 4 + la t1, 1 + + sw t1, 0(t0) + + la t0, 0x00100000 + li t1, 1 + sw t1, 0(t0) + lw t2, 0(t0) + + + j halt + +*/ /* Set up stack pointer */ la sp, _stack_end |