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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [xcptest/] [start.s] - Diff between revs 14 and 80

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

Rev 14 Rev 80
Line 8... Line 8...
        .set    PSW,0                    ; reg # of PSW
        .set    PSW,0                    ; reg # of PSW
        .set    TLB_INDEX,1             ; reg # of TLB Index
        .set    TLB_INDEX,1             ; reg # of TLB Index
        .set    TLB_ENTRY_HI,2          ; reg # of TLB EntryHi
        .set    TLB_ENTRY_HI,2          ; reg # of TLB EntryHi
        .set    TLB_ENTRY_LO,3          ; reg # of TLB EntryLo
        .set    TLB_ENTRY_LO,3          ; reg # of TLB EntryLo
        .set    TLB_ENTRIES,32          ; number of TLB entries
        .set    TLB_ENTRIES,32          ; number of TLB entries
 
        .set    BAD_ADDRESS,4           ; reg # of bad address reg
 
 
;***************************************************************
;***************************************************************
 
 
        .import _ecode
        .import _ecode
        .import _edata
        .import _edata
Line 222... Line 223...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 283... Line 286...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 344... Line 349...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 405... Line 412...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 466... Line 475...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 527... Line 538...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 588... Line 601...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 649... Line 664...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 710... Line 727...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 771... Line 790...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 832... Line 853...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 894... Line 917...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 955... Line 980...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 1038... Line 1065...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 1121... Line 1150...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 1204... Line 1235...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 1287... Line 1320...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 1371... Line 1406...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 1454... Line 1491...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 1515... Line 1554...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 1577... Line 1618...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 1639... Line 1682...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 1700... Line 1745...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 1761... Line 1808...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 1822... Line 1871...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 1883... Line 1934...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 1944... Line 1997...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 2005... Line 2060...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 2067... Line 2124...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 2128... Line 2187...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 2189... Line 2250...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 2251... Line 2314...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 2312... Line 2377...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 2381... Line 2448...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 2451... Line 2520...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 2520... Line 2591...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 2589... Line 2662...
        mvts    $8,TLB_INDEX
        mvts    $8,TLB_INDEX
        ldw     $8,$28,34*4             ; tlbWntryHi
        ldw     $8,$28,34*4             ; tlbWntryHi
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
 
        ldw     $8,$28,36*4             ; badAddress
 
        mvts    $8,BAD_ADDRESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 2718... Line 2793...
        stw     $8,$28,33*4             ; tlbIndex
        stw     $8,$28,33*4             ; tlbIndex
        mvfs    $8,TLB_ENTRY_HI
        mvfs    $8,TLB_ENTRY_HI
        stw     $8,$28,34*4             ; tlbEntryHi
        stw     $8,$28,34*4             ; tlbEntryHi
        mvfs    $8,TLB_ENTRY_LO
        mvfs    $8,TLB_ENTRY_LO
        stw     $8,$28,35*4             ; tlbEntryLo
        stw     $8,$28,35*4             ; tlbEntryLo
 
        mvfs    $8,BAD_ADDRESS
 
        stw     $8,$28,36*4             ; badAddress
        .syn
        .syn
        add     $8,$0,returnState
        add     $8,$0,returnState
        ldw     $4,$8,0*4                ; pointer to interrupt context
        ldw     $4,$8,0*4                ; pointer to interrupt context
        ldw     $31,$8,1*4              ; return address
        ldw     $31,$8,1*4              ; return address
        ldw     $29,$8,2*4              ; stack pointer
        ldw     $29,$8,2*4              ; stack pointer

powered by: WebSVN 2.1.0

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