SPIM Version 7.0 of July 7, 2004 Copyright 1990-2004 by James R. Larus (larus@cs.wisc.edu). All Rights Reserved. See the file README for a full copyright notice. Loaded: ./exceptions.s Testing LB Expect an address error exception: Exception occurred at PC=0x00400108 Bad address in data/stack read: 0x800003e7 Exception 7 [Bad data address] occurred and ignored Testing LBU Expect an address error exception: Exception occurred at PC=0x004001d0 Bad address in data/stack read: 0x800003e7 Exception 7 [Bad data address] occurred and ignored Testing LWL Expect two address error exceptions: Exception occurred at PC=0x00400280 Bad address in data/stack read: 0x800003e4 Exception 7 [Bad data address] occurred and ignored Exception occurred at PC=0x00400284 Bad address in data/stack read: 0x800003e8 Exception 7 [Bad data address] occurred and ignored Testing LWR Expect two address error exceptions: Exception occurred at PC=0x00400318 Bad address in data/stack read: 0x800003e4 Exception 7 [Bad data address] occurred and ignored Exception occurred at PC=0x0040031c Bad address in data/stack read: 0x800003e8 Exception 7 [Bad data address] occurred and ignored Testing SB Expect an address error exception: Exception occurred at PC=0x004003a8 Bad address in data/stack read: 0x800003e7 Exception 7 [Bad data address] occurred and ignored Testing SH Expect two address error exceptions: Exception occurred at PC=0x00400408 Unaligned address in store: 0x800003e7 Exception 5 [Address error in store] occurred and ignored Exception occurred at PC=0x0040040c Bad address in data/stack read: 0x800003e8 Exception 7 [Bad data address] occurred and ignored Testing SWL Testing SWR Testing ULH Testing ULHU Testing ULHU Testing ULW Testing USH Testing USW Testing .WORD Passed all tests