- initializing of 'gp'

Committed on the Free edition of March Hare Software CVSNT Server.
Upgrade to CVS Suite for more features and support:
http://march-hare.com/cvsnt/


git-svn-id: http://moon:8086/svn/vhdl/trunk@310 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2009-02-01 19:40:44 +00:00
parent f2ea795156
commit 4282eb6221
+2 -1
View File
@@ -15,10 +15,11 @@ _init:
# set stack pointer # set stack pointer
la $sp, stack_ptr la $sp, stack_ptr
la $gp, _gp
# zero bss # zero bss
la $8, __bss_start la $8, __bss_start
la $9, __bss_end la $9, end
$zeroise: $zeroise:
sw $0, 0($8) sw $0, 0($8)
bne $8, $9, $zeroise bne $8, $9, $zeroise