OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [disk/] [tools/] [mkmboot/] [stage2/] [c0.s] - Diff between revs 17 and 86

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 17 Rev 86
Line 39... Line 39...
clrloop:
clrloop:
        stw     $0,$8,0
        stw     $0,$8,0
        add     $8,$8,4
        add     $8,$8,4
clrtest:
clrtest:
        bltu    $8,$9,clrloop
        bltu    $8,$9,clrloop
        add     $29,$0,0xC0010000        ; setup stack
        add     $29,$0,0xC0020000        ; setup stack
        stw     $16,$0,bootDisk          ; make arguments available
        stw     $16,$0,bootDisk          ; make arguments available
        stw     $17,$0,startSector
        stw     $17,$0,startSector
        stw     $18,$0,numSectors
        stw     $18,$0,numSectors
        jal     main                    ; call 'main' function
        jal     main                    ; call 'main' function
        ldw     $16,$0,bootDisk          ; setup arguments for next stage
        ldw     $16,$0,bootDisk          ; setup arguments for next stage

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.