?? tt.ok
字號:
SPIM Version 6.5 of January 4, 2003Copyright 1990-2003 by James R. Larus (larus@cs.wisc.edu).All Rights Reserved.See the file README for a full copyright notice.Loaded: ./trap.handlerTarget of jump differs in high-order 4 bits from instruction pc 0x80000164Target of jump differs in high-order 4 bits from instruction pc 0x400530The next few lines should contain exception error messagesException occurred at PC=0x00400040 Unaligned address in inst/data fetch: 0x00400001 Exception 4 [Unaligned address in inst/data fetch] occurred and ignoredException occurred at PC=0x00400044 Unaligned address in store: 0x00400001 Exception 5 [Unaligned address in store] occurred and ignoredException occurred at PC=0x00400050 Bad address in data/stack read: 0x00d89680 Exception 7 [Bad address in data/stack read] occurred and ignoredException occurred at PC=0x00400054 Exception 9 [Breakpoint] occurred and ignoredException occurred at PC=0x00400060 Arithmetic overflow Exception 12 [Arithmetic overflow] occurred and ignoredDone with exceptionsTesting ADDTesting ADDITesting ADDIUTesting ADDUTesting ANDTesting ANDITesting BEQTesting BGEZTesting BGEZALTesting BGTZTesting BLEZTesting BLTZTesting BLTZALTesting BNETesting BREAKExpect a exception message: Exception occurred at PC=0x004003a4 Exception 9 [Breakpoint] occurred and ignoredTesting move to/from coprocessor control zTesting DIVExpect exception caused by divide by 0: Exception occurred at PC=0x00400470 Exception 9 [Breakpoint] occurred and ignoredTesting DIVUExpect exception caused by divide by 0: Exception occurred at PC=0x00400508 Exception 9 [Breakpoint] occurred and ignoredTesting JTesting JALTesting JALRExpect an non-word boundary exception: Exception occurred at PC=0x004005a8 Bad address in text read: 0x004005aa Exception 6 [Bad address in text read] occurred and ignoredTesting JRExpect an non-word boundary exception: Exception occurred at PC=0x004005e8 Bad address in text read: 0x004005ea Exception 6 [Bad address in text read] occurred and ignoredTesting LATesting LBExpect an address error exceptions: Exception occurred at PC=0x004006e8 Bad address in data/stack read: 0x800003e7 Exception 7 [Bad address in data/stack read] occurred and ignoredTesting LBUExpect an address error exceptions: Exception occurred at PC=0x004007b0 Bad address in data/stack read: 0x800003e7 Exception 7 [Bad address in data/stack read] occurred and ignoredTesting LDExpect four address error exceptions:Exception occurred at PC=0x00400814 Unaligned address in inst/data fetch: 0x800003e7 Exception 4 [Unaligned address in inst/data fetch] occurred and ignoredException occurred at PC=0x00400818 Unaligned address in inst/data fetch: 0x800003eb Exception 4 [Unaligned address in inst/data fetch] occurred and ignoredException occurred at PC=0x0040081c Bad address in data/stack read: 0x800003e8 Exception 7 [Bad address in data/stack read] occurred and ignoredException occurred at PC=0x00400820 Bad address in data/stack read: 0x800003ec Exception 7 [Bad address in data/stack read] occurred and ignoredTesting LHExpect two address error exceptions:Exception occurred at PC=0x00400888 Unaligned address in inst/data fetch: 0x800003e7 Exception 4 [Unaligned address in inst/data fetch] occurred and ignoredException occurred at PC=0x0040088c Bad address in data/stack read: 0x800003e8 Exception 7 [Bad address in data/stack read] occurred and ignoredTesting LHUExpect two address error exceptions:Exception occurred at PC=0x004008ec Unaligned address in inst/data fetch: 0x800003e7 Exception 4 [Unaligned address in inst/data fetch] occurred and ignoredException occurred at PC=0x004008f0 Bad address in data/stack read: 0x800003e8 Exception 7 [Bad address in data/stack read] occurred and ignoredTesting LUITesting LWExpect two address error exceptions:Exception occurred at PC=0x004009d0 Unaligned address in inst/data fetch: 0x800003e7 Exception 4 [Unaligned address in inst/data fetch] occurred and ignoredException occurred at PC=0x004009d4 Bad address in data/stack read: 0x800003e8 Exception 7 [Bad address in data/stack read] occurred and ignoredTesting LWLExpect two address error exceptions:Exception occurred at PC=0x00400a84 Bad address in data/stack read: 0x800003e4 Exception 7 [Bad address in data/stack read] occurred and ignoredException occurred at PC=0x00400a88 Bad address in data/stack read: 0x800003e8 Exception 7 [Bad address in data/stack read] occurred and ignoredTesting LWRExpect two address error exceptions:Exception occurred at PC=0x00400b1c Bad address in data/stack read: 0x800003e4 Exception 7 [Bad address in data/stack read] occurred and ignoredException occurred at PC=0x00400b20 Bad address in data/stack read: 0x800003e8 Exception 7 [Bad address in data/stack read] occurred and ignoredTesting move to/from coprocessor zTesting move to/from HI/LOTesting MULTesting MULTUTesting MULOExpect an exception: Exception occurred at PC=0x00400f3c Exception 9 [Breakpoint] occurred and ignoredTesting NORTesting ORTesting ORITesting SBExpect an address error exceptions: Exception occurred at PC=0x00401090 Bad address in data/stack read: 0x800003e7 Exception 7 [Bad address in data/stack read] occurred and ignoredTesting SDExpect two address error exceptions:Exception occurred at PC=0x004010ec Unaligned address in store: 0x800003e7 Exception 5 [Unaligned address in store] occurred and ignoredException occurred at PC=0x004010f0 Unaligned address in store: 0x800003eb Exception 5 [Unaligned address in store] occurred and ignoredException occurred at PC=0x004010f4 Bad address in data/stack read: 0x800003e8 Exception 7 [Bad address in data/stack read] occurred and ignoredException occurred at PC=0x004010f8 Bad address in data/stack read: 0x800003ec Exception 7 [Bad address in data/stack read] occurred and ignoredTesting SHExpect two address error exceptions:Exception occurred at PC=0x00401158 Unaligned address in store: 0x800003e7 Exception 5 [Unaligned address in store] occurred and ignoredException occurred at PC=0x0040115c Bad address in data/stack read: 0x800003e8 Exception 7 [Bad address in data/stack read] occurred and ignoredTesting SLLTesting SLLVTesting SLTTesting SLTITesting SLTIUTesting SLTUTesting SRATesting SRAVTesting SRLTesting SRLVTesting SUBExpect an overflow exceptions: Exception occurred at PC=0x00401548 Arithmetic overflow Exception 12 [Arithmetic overflow] occurred and ignoredTesting SUBUTesting SWExpect two address error exceptions:Exception occurred at PC=0x00401600 Unaligned address in store: 0x800003e7 Exception 5 [Unaligned address in store] occurred and ignoredException occurred at PC=0x00401604 Bad address in data/stack read: 0x800003e8 Exception 7 [Bad address in data/stack read] occurred and ignoredTesting load/store word coprocessor zTesting SWLTesting SWRTesting SYSCALLThe next line should contain: -1, -1.000000, -2.000000-1, -1.000000000000000000, -2Testing XORTesting XORITesting ABS.STesting ABS.DTesting ADD.STesting ADD.DTesting C.EQ.DTesting C.EQ.STesting C.F.DTesting C.F.STesting C.LE.DTesting C.LE.STesting C.LT.DTesting C.LT.STesting C.NGE.DTesting C.NGE.STesting C.NGLE.DTesting C.NGLE.STesting C.NGL.DTesting C.NGL.STesting C.NGT.DTesting C.NGT.STesting C.OLE.DTesting C.OLE.STesting C.SEQ.DTesting C.SEQ.STesting C.SF.DTesting C.SF.STesting C.UEQ.DTesting C.UEQ.STesting C.ULE.DTesting C.ULE.STesting C.UN.DTesting C.UN.STesting CVT.D.STesting CVT.D.WTesting CVT.S.DTesting CVT.S.WTesting CVT.W.DTesting CVT.W.STesting DIV.STesting DIV.DTesting MOV.STesting MOV.DTesting MUL.STesting MUL.DTesting NEG.STesting NEG.DTesting SUB.STesting SUB.DTesting ABSTesting BTesting BALTesting BEQZTesting BGETesting BGEUTesting BGTTesting BGTUTesting BLETesting BLEUTesting BLTTesting BLTUTesting BNEZTesting L_STesting L_DTesting LITesting LI.dTesting LI.sTesting MOVETesting NEGTesting NEGUTesting NOPTesting NOTTesting REMTesting REMUTesting ROLTesting RORTesting S_STesting S_DTesting SEQTesting SGETesting SGEUTesting SGTTesting SGTUTesting SLETesting SLEUTesting SNETesting ULHTesting ULHUTesting ULHUTesting ULWTesting USHTesting USWTesting .WORDPassed all tests
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -