9
EXCEPTION AND INTERUPT PROCESSING
55
bfc0008c:
00 08 1b 24 li $k1, 0x0800
bfc00090:
04 d8 1b 01 sllv $k1, $k1, $t0 ; k1=0x8000< < ?
bfc00094:
c0 ff 7b 23 addi $k1, $k1, 0xffc0
bfc00098:
fe ff 60 17 bne $k1, $zero, 0xbfc00094
bfc0009c:
00 00 71 bf cache 0x11, 0($k1) ; Hit Invalidate (primary Data Cache)
bfc000a0:
00 68 80 40 mtc0 $zero, $13 ; set c0.13 (Cause) = 0
bfc000a4:
00 20 1a 3c lui $k0, 0x2000
bfc000a8:
00 60 9a 40 mtc0 $k0, $12 ; set c0.12 (Status) = 0x20000000
bfc000ac:
c0 bc 1a 3c lui $k0, 0xbcc0
bfc000b0:
01 00 09 24 li $t1, 0x0001
bfc000b4:
10 00 49 af sw $t1, 0x10($k0) ; *(0xbcc00010)=0x0001
; while(*(0xbcc00010)==1);
bfc000b8:
10 00 48 8f lw $t0, 0x10($k0)
bfc000bc:
fe ff 09 11 beq $t0, $t1, 0xbfc000b8
bfc000c0:
00 00 00 00 nop
bfc000c4:
01 00 09 24 li $t1, 0x0001
bfc000c8:
70 00 49 af sw $t1, 0x70($k0) ; *(0xbcc00070)=0x0001
bfc000cc:
08 00 09 24 li $t1, 0x0008
bfc000d0:
30 00 49 af sw $t1, 0x30($k0) ; *(0xbcc00030)=0x0008
bfc000d4:
02 00 09 24 li $t1, 0x0002
bfc000d8:
40 00 49 af sw $t1, 0x40($k0) ; *(0xbcc00040)=0x0002
bfc000dc:
0f 00 00 00 sync
bfc000e0:
c0 bf 08 3c lui $t0, 0xbfc0
bfc000e4:
38 88 1a 3c lui $k0, 0x8838
bfc000e8:
20 80 1d 3c lui $sp, 0x8020
bfc000ec:
00 00 04 24 li $a0, 0x0000
bfc000f0:
30 88 05 3c lui $a1, 0x8830
bfc000f4:
08 00 06 3c lui $a2, 0x0008
bfc000f8:
08 00 40 03 jr $k0 ; k0=0x88380000 t0=0xbfc00000 sp=0x80200000 a0=0 a1=0x88300000 a2=0x00080000
bfc000fc:
00 00 00 00 nop
88380000
9.3
Exception Vectors?
bfc01000
(exceptionman, power)
bfc01000:
00 d0 c2 40 ctc0 $v0, $26 ; save v0 in cc0.26 (Ex.GPR.v0)
bfc01004:
00 50 42 40 cfc0 $v0, $10 (0x8801ce30) ; get address of handler from cc0.10
bfc01008:
08 00 40 00 jr $v0 ; jump to handler
bfc0100c:
00 00 00 00 nop
bfc01100
bfc01200
bfc01300
bfc01400
bfc01500
bfc01600
Summary of Contents for PlayStationPortable
Page 114: ...12 AUDIO PROCESSING 114 12 Audio Processing 12 1 Overview 44100 Hz Sample Frequency ...
Page 116: ...14 WLAN 116 14 WLAN ...
Page 117: ...15 USB PORT 117 15 USB Port ...
Page 118: ...16 UMD 118 16 UMD ...
Page 119: ...17 MEMORY STICK 119 17 Memory Stick ...
Page 128: ...21 FLASH MEMORY STRUCTURE FLASH1 128 21 Flash Memory Structure flash1 DIC REGISTRY VSH THEME ...
Page 141: ...28 IPL 141 28 IPL ...