Skip to content

Instantly share code, notes, and snippets.

@zhuowei
Created June 11, 2025 03:33
Show Gist options
  • Save zhuowei/46a68b9ee53589cdeaa40c11d15d895f to your computer and use it in GitHub Desktop.
Save zhuowei/46a68b9ee53589cdeaa40c11d15d895f to your computer and use it in GitHub Desktop.
Galaxy S24 firmware: gen70900_sqe.fw: April update (S921USQU4BYD9): v675, diffed with May update (S921USQS4BYE4), v676
diff --git a/gen70900_675_v.txt b/gen70900_676_v.txt
index 57f81588973..b7a82309bc8 100644
--- a/gen70900_675_v.txt
+++ b/gen70900_676_v.txt
@@ -1,12 +1,12 @@
; a7xx microcode
-; Disassembling microcode: /home/zhuowei/gen70900_sqe.fw.v675
-; Version: 01520675
+; Disassembling microcode: /home/zhuowei/gen70900_sqe.fw.v676
+; Version: 01520676
- 0000: 01520675 [01520675]
+ 0000: 01520676 [01520676]
0001: 0100530c [0100530c]
0002: 01520642 [01520642]
0003: 01002950 [#jumptbl]
- 0004: 010f060b [010f060b]
+ 0004: 01058e7a [01058e7a]
0005: 71820001 mov $02, 0x1 << 12
0006: a802001c cwrite $02, [$00 + @APERTURE_CNTL]
0007: 72058040 mov $05, 0x8040 << 16
@@ -381,7 +381,7 @@
0163: b80300a4 CP_ME_INIT:
0163: b80300a4 fxn355:
0163: b80300a4 cread $03, [$00 + 0x0a4]
- 0164: 2a440003 and $04, $12, 0x3
+ 0164: 2a440007 and $04, $12, 0x7
0165: 98641813 ushr $03, $03, $04
0166: c860004a brne $03, b0, #l432
0167: 01000000 nop
@@ -477,7 +477,7 @@
01b4: 01000000 nop
01b5: 981f5806 mov $0b, $data
01b6: c97f0029 brne $0b, b31, #l479
- 01b7: 2a4d0003 and $0d, $12, 0x3
+ 01b7: 2a4d0007 and $0d, $12, 0x7
01b8: d40001bc call #fxn444
01b9: 98003006 mov $06, $00
01ba: c8000025 jump #l479
@@ -708,8 +708,8 @@
027e: 01000000 nop
027f: c800ffd5 jump #l596
0280: 01000000 nop
- 0281: 2a430003 l641:
- 0281: 2a430003 and $03, $12, 0x3
+ 0281: 2a430007 l641:
+ 0281: 2a430007 and $03, $12, 0x7
0282: 986d100d cmp $02, $03, $0d
0283: c8420018 brne $02, b2, #l667
0284: 01000000 nop
@@ -930,9 +930,9 @@
0317: a8020063 cwrite $02, [$00 + 0x063]
0318: d8000000 waitin
0319: 981f0806 mov $01, $data
- 031a: 2a450003
- 031a: 2a450003 fxn794:
- 031a: 2a450003 and $05, $12, 0x3
+ 031a: 2a450007
+ 031a: 2a450007 fxn794:
+ 031a: 2a450007 and $05, $12, 0x7
031b: a8050473 cwrite $05, [$00 + 0x473]
031c: 70050004 mov $05, 0x4
031d: 90b28040 bfi $12, $05, b0, b2
@@ -1296,9 +1296,9 @@
0450: d0000000 l1104:
0450: d0000000 ret
0451: a8030230 cwrite $03, [$00 + 0x230]
- 0452: 2a480003
- 0452: 2a480003 CP_INDIRECT_BUFFER:
- 0452: 2a480003 and $08, $12, 0x3
+ 0452: 2a480007
+ 0452: 2a480007 CP_INDIRECT_BUFFER:
+ 0452: 2a480007 and $08, $12, 0x7
0453: 69020003 cmp $02, $08, 0x3
0454: ce870005 breq $14, b7, #l1113
0455: 01000000 nop
@@ -1334,7 +1334,7 @@
0470: 0af70001 add $17, $17, 0x1
0471: 2ae4000f l1137:
0471: 2ae4000f and $04, $17, 0xf
- 0472: 2a480003 and $08, $12, 0x3
+ 0472: 2a480007 and $08, $12, 0x7
0473: c484001f breq $04, 0x4, #l1170
0474: b802003c cread $02, [$00 + 0x03c]
0475: 28420003 and $02, $02, 0x3
@@ -1346,7 +1346,7 @@
047b: 98a3100d cmp $02, $05, $03
047c: c8400016 brne $02, b0, #l1170
047d: 01000000 nop
- 047e: 2a420003 and $02, $12, 0x3
+ 047e: 2a420007 and $02, $12, 0x7
047f: 70030001 mov $03, 0x1
0480: 98621012 shl $02, $03, $02
0481: b803007d cread $03, [$00 + 0x07d]
@@ -1385,7 +1385,7 @@
049e: ce4d0013 breq $12, b13, #l1201
049f: 01000000 nop
04a0: ce530aa8 breq $12, b19, #l3912
- 04a1: 2a420003 and $02, $12, 0x3
+ 04a1: 2a420007 and $02, $12, 0x7
04a2: c440fe39 breq $02, 0x0, #l731
04a3: 1a520001 sub $12, $12, 0x1
04a4: a812003d cwrite $12, [$00 + @IB_LEVEL]
@@ -1756,8 +1756,8 @@
05d8: 32940080 or $14, $14, 0x80
05d9: d0000000 ret
05da: 3a940080 xor $14, $14, 0x80
- 05db: 2a450003 l1499:
- 05db: 2a450003 and $05, $12, 0x3
+ 05db: 2a450007 l1499:
+ 05db: 2a450007 and $05, $12, 0x7
05dc: c0a30021 brne $05, 0x3, #l1533
05dd: 01000000 nop
05de: ca8c0010 brne $14, b12, #l1518
@@ -1911,8 +1911,8 @@
0659: cc410027 breq $02, b1, #l1664
065a: c841003a brne $02, b1, #l1684
065b: 01000000 nop
- 065c: 2a420003 l1628:
- 065c: 2a420003 and $02, $12, 0x3
+ 065c: 2a420007 l1628:
+ 065c: 2a420007 and $02, $12, 0x7
065d: c0400037 brne $02, 0x0, #l1684
065e: 90e76011 l1630:
065e: 90e76011 setbit $07, $07, b8
@@ -2259,7 +2259,7 @@
077f: b80300a4 CP_SET_SECURE_MODE:
077f: b80300a4 fxn1919:
077f: b80300a4 cread $03, [$00 + 0x0a4]
- 0780: 2a440003 and $04, $12, 0x3
+ 0780: 2a440007 and $04, $12, 0x7
0781: 98641813 ushr $03, $03, $04
0782: c860ffcf brne $03, b0, #l1873
0783: b8030136 cread $03, [$00 + @SECURE_MODE]
@@ -3443,9 +3443,9 @@
0b72: d8000000 l2930:
0b72: d8000000 waitin
0b73: 981f0806 mov $01, $data
- 0b74: 2a420003
- 0b74: 2a420003 CP_CONTEXT_SWITCH_YIELD:
- 0b74: 2a420003 and $02, $12, 0x3
+ 0b74: 2a420007
+ 0b74: 2a420007 CP_CONTEXT_SWITCH_YIELD:
+ 0b74: 2a420007 and $02, $12, 0x7
0b75: c040fbdc brne $02, 0x0, #l1873
0b76: 01000000 nop
0b77: a81f041d cwrite $data, [$00 + 0x41d]
@@ -3486,7 +3486,7 @@
0b96: c8c20044 brne $06, b2, #l3034
0b97: 68460004 cmp $06, $02, 0x4
0b98: c8c10017 brne $06, b1, #l2991
- 0b99: 2a460003 and $06, $12, 0x3
+ 0b99: 2a460007 and $06, $12, 0x7
0b9a: c0c0000b brne $06, 0x0, #l2981
0b9b: 90432001 shl $03, $02, 0x1
0b9c: c4410016 breq $02, 0x1, #l2994
@@ -3642,7 +3642,7 @@
0c22: 68a60003 cmp $06, $05, 0x3
0c23: c8c10009 brne $06, b1, #l3116
0c24: ccc2000c breq $06, b2, #l3120
- 0c25: 2a470003 and $07, $12, 0x3
+ 0c25: 2a470007 and $07, $12, 0x7
0c26: c0e0fb2b brne $07, 0x0, #l1873
0c27: 7005042c mov $05, 0x42c ; RBBM_PERFCTR2_SP[0x1]+0
0c28: a8a20000 l3112:
@@ -4064,9 +4064,9 @@
0d8e: 9c1f0006 (rep)mov $00, $data
0d8f: d8000000 waitin
0d90: 981f0806 mov $01, $data
- 0d91: 2a420003
- 0d91: 2a420003 CP_WHERE_AM_I:
- 0d91: 2a420003 and $02, $12, 0x3
+ 0d91: 2a420007
+ 0d91: 2a420007 CP_WHERE_AM_I:
+ 0d91: 2a420007 and $02, $12, 0x7
0d92: c040f9bf brne $02, 0x0, #l1873
0d93: 731d00a0 mov $addr, 0xa0 << 24 ; |NRT_ADDR
0d94: 981ff806 mov $data, $data
@@ -4076,9 +4076,9 @@
0d98: 731d0084 mov $addr, 0x84 << 24 ; |WAIT_MEM_WRITES
0d99: d8000000 waitin
0d9a: 981f0806 mov $01, $data
- 0d9b: 2a460003
- 0d9b: 2a460003 CP_INDIRECT_BUFFER_CHAIN:
- 0d9b: 2a460003 and $06, $12, 0x3
+ 0d9b: 2a460007
+ 0d9b: 2a460007 CP_INDIRECT_BUFFER_CHAIN:
+ 0d9b: 2a460007 and $06, $12, 0x7
0d9c: c4c0f53f breq $06, 0x0, #l731
0d9d: 981f1006 mov $02, $data
0d9e: 93e37200 ubfx $03, $data, b0, b16
@@ -4135,9 +4135,9 @@
0dc7: 701f0001 mov $data, 0x1
0dc8: d0000000 ret
0dc9: 01000000 nop
- 0dca: 2a420003
- 0dca: 2a420003 CP_SMMU_TABLE_UPDATE:
- 0dca: 2a420003 and $02, $12, 0x3
+ 0dca: 2a420007
+ 0dca: 2a420007 CP_SMMU_TABLE_UPDATE:
+ 0dca: 2a420007 and $02, $12, 0x7
0dcb: c040f986 brne $02, 0x0, #l1873
0dcc: 981f6806 mov $0d, $data
0dcd: 981f7006 mov $0e, $data
@@ -4425,9 +4425,9 @@
0ecc: 18840002 sub $04, $04, 0x2
0ecd: d0000000 ret
0ece: 9800f806 mov $data, $00
- 0ecf: 2a420003
- 0ecf: 2a420003 CP_FIXED_STRIDE_DRAW_TABLE:
- 0ecf: 2a420003 and $02, $12, 0x3
+ 0ecf: 2a420007
+ 0ecf: 2a420007 CP_FIXED_STRIDE_DRAW_TABLE:
+ 0ecf: 2a420007 and $02, $12, 0x7
0ed0: c440f40b breq $02, 0x0, #l731
0ed1: c443f40a breq $02, 0x3, #l731
0ed2: 92526025 setbit $12, $12, b18
@@ -4540,9 +4540,9 @@
0f35: 01000000 nop
0f36: d8000000 waitin
0f37: 981f0806 mov $01, $data
- 0f38: 2a4c0003
- 0f38: 2a4c0003 fxn3896:
- 0f38: 2a4c0003 and $0c, $12, 0x3
+ 0f38: 2a4c0007
+ 0f38: 2a4c0007 fxn3896:
+ 0f38: 2a4c0007 and $0c, $12, 0x7
0f39: 918c2002 shl $0c, $0c, 0x2
0f3a: a98e0020 cwrite $0e, [$0c + @IB1_BASE]
0f3b: a98b0021 cwrite $0b, [$0c + @IB1_BASE+0x1]
@@ -4922,7 +4922,7 @@
1086: b80300a4 UNKN121:
1086: b80300a4 fxn4230:
1086: b80300a4 cread $03, [$00 + 0x0a4]
- 1087: 2a440003 and $04, $12, 0x3
+ 1087: 2a440007 and $04, $12, 0x7
1088: 98641813 ushr $03, $03, $04
1089: c860f6c8 brne $03, b0, #l1873
108a: 2bec1f1f and $0c, $data, 0x1f1f
@@ -4976,7 +4976,7 @@
10b7: 2be20001
10b7: 2be20001 CP_REG_WR_NO_CTXT:
10b7: 2be20001 and $02, $data, 0x1
- 10b8: 2a430003 and $03, $12, 0x3
+ 10b8: 2a430007 and $03, $12, 0x7
10b9: 70040001 mov $04, 0x1
10ba: cc400004 breq $02, b0, #l4286
10bb: 98832012 shl $04, $04, $03
@@ -5022,7 +5022,7 @@
10d9: 981f2806 CP_RESET_CONTEXT_STATE:
10d9: 981f2806 mov $05, $data
10da: b80300a4 cread $03, [$00 + 0x0a4]
- 10db: 2a440003 and $04, $12, 0x3
+ 10db: 2a440007 and $04, $12, 0x7
10dc: 98641813 ushr $03, $03, $04
10dd: c860f674 brne $03, b0, #l1873
10de: 01000000 nop
@@ -5144,8 +5144,8 @@
113a: 920473ec ubfx $04, $10, b12, b31
113b: ce58002b breq $12, b24, #l4454
113c: c4800084 breq $04, 0x0, #l4544
- 113d: 2a510003 l4413:
- 113d: 2a510003 and $11, $12, 0x3
+ 113d: 2a510007 l4413:
+ 113d: 2a510007 and $11, $12, 0x7
113e: 1a310001 sub $11, $11, 0x1
113f: 9a118006 or $10, $10, $11
1140: a81004ad cwrite $10, [$00 + 0x4ad]
@@ -5260,7 +5260,7 @@
11a7: b0520000 load $12, [$02 + 0x0]
11a8: 28630001 and $03, $03, 0x1
11a9: b0570004 load $17, [$02 + 0x4]
- 11aa: 2a510003 and $11, $12, 0x3
+ 11aa: 2a510007 and $11, $12, 0x7
11ab: 1a310001 sub $11, $11, 0x1
11ac: 084c0008 add $0c, $02, 0x8
11ad: 980c8006 mov $10, $0c
@@ -11998,7 +11998,7 @@ jumptbl:
0057: b80300a4 CP_ME_INIT:
0057: b80300a4 fxn87:
0057: b80300a4 cread $03, [$00 + 0x0a4]
- 0058: 2a440003 and $04, $12, 0x3
+ 0058: 2a440007 and $04, $12, 0x7
0059: 98641813 ushr $03, $03, $04
005a: c860003a brne $03, b0, #l148
005b: 01000000 nop
@@ -12086,7 +12086,7 @@ jumptbl:
009f: 01000000 nop
00a0: 981f5806 mov $0b, $data
00a1: c97f002b brne $0b, b31, #l204
- 00a2: 2a4d0003 and $0d, $12, 0x3
+ 00a2: 2a4d0007 and $0d, $12, 0x7
00a3: d40000a7 call #fxn167
00a4: 98003006 mov $06, $00
00a5: c8000027 jump #l204
@@ -12298,8 +12298,8 @@ jumptbl:
015a: 01000000 nop
015b: c800ffd1 jump #l300
015c: 01000000 nop
- 015d: 2a430003 l349:
- 015d: 2a430003 and $03, $12, 0x3
+ 015d: 2a430007 l349:
+ 015d: 2a430007 and $03, $12, 0x7
015e: 986d100d cmp $02, $03, $0d
015f: c8420018 brne $02, b2, #l375
0160: 01000000 nop
@@ -12526,9 +12526,9 @@ jumptbl:
01f7: a8020063 cwrite $02, [$00 + 0x063]
01f8: d8000000 waitin
01f9: 981f0806 mov $01, $data
- 01fa: 2a450003
- 01fa: 2a450003 fxn506:
- 01fa: 2a450003 and $05, $12, 0x3
+ 01fa: 2a450007
+ 01fa: 2a450007 fxn506:
+ 01fa: 2a450007 and $05, $12, 0x7
01fb: a8050473 cwrite $05, [$00 + 0x473]
01fc: 70050004 mov $05, 0x4
01fd: 90b28040 bfi $12, $05, b0, b2
@@ -12803,9 +12803,9 @@ jumptbl:
02e1: d0000000 l737:
02e1: d0000000 ret
02e2: a8030230 cwrite $03, [$00 + 0x230]
- 02e3: 2a480003
- 02e3: 2a480003 CP_INDIRECT_BUFFER:
- 02e3: 2a480003 and $08, $12, 0x3
+ 02e3: 2a480007
+ 02e3: 2a480007 CP_INDIRECT_BUFFER:
+ 02e3: 2a480007 and $08, $12, 0x7
02e4: 69020003 cmp $02, $08, 0x3
02e5: ce870005 breq $14, b7, #l746
02e6: 01000000 nop
@@ -12841,7 +12841,7 @@ jumptbl:
0301: 0af70001 add $17, $17, 0x1
0302: 2ae4000f l770:
0302: 2ae4000f and $04, $17, 0xf
- 0303: 2a480003 and $08, $12, 0x3
+ 0303: 2a480007 and $08, $12, 0x7
0304: c484001f breq $04, 0x4, #l803
0305: b802003c cread $02, [$00 + 0x03c]
0306: 28420003 and $02, $02, 0x3
@@ -12853,7 +12853,7 @@ jumptbl:
030c: 98a3100d cmp $02, $05, $03
030d: c8400016 brne $02, b0, #l803
030e: 01000000 nop
- 030f: 2a420003 and $02, $12, 0x3
+ 030f: 2a420007 and $02, $12, 0x7
0310: 70030001 mov $03, 0x1
0311: 98621012 shl $02, $03, $02
0312: b803007d cread $03, [$00 + 0x07d]
@@ -12894,7 +12894,7 @@ jumptbl:
0330: ce45fedb breq $12, b5, #l523
0331: 01000000 nop
0332: ce53090d breq $12, b19, #l3135
- 0333: 2a420003 and $02, $12, 0x3
+ 0333: 2a420007 and $02, $12, 0x7
0334: c440fe87 breq $02, 0x0, #l443
0335: 1a520001 sub $12, $12, 0x1
0336: a812003d cwrite $12, [$00 + @IB_LEVEL]
@@ -13253,8 +13253,8 @@ jumptbl:
0461: 32940080 or $14, $14, 0x80
0462: d0000000 ret
0463: 3a940080 xor $14, $14, 0x80
- 0464: 2a450003 l1124:
- 0464: 2a450003 and $05, $12, 0x3
+ 0464: 2a450007 l1124:
+ 0464: 2a450007 and $05, $12, 0x7
0465: c0a30021 brne $05, 0x3, #l1158
0466: 01000000 nop
0467: ca8c0010 brne $14, b12, #l1143
@@ -13408,8 +13408,8 @@ jumptbl:
04e2: cc41002b breq $02, b1, #l1293
04e3: c841003e brne $02, b1, #l1313
04e4: 01000000 nop
- 04e5: 2a420003 l1253:
- 04e5: 2a420003 and $02, $12, 0x3
+ 04e5: 2a420007 l1253:
+ 04e5: 2a420007 and $02, $12, 0x7
04e6: c040003b brne $02, 0x0, #l1313
04e7: 90e76011 l1255:
04e7: 90e76011 setbit $07, $07, b8
@@ -13606,7 +13606,7 @@ jumptbl:
0580: b80300a4 CP_SET_SECURE_MODE:
0580: b80300a4 fxn1408:
0580: b80300a4 cread $03, [$00 + 0x0a4]
- 0581: 2a440003 and $04, $12, 0x3
+ 0581: 2a440007 and $04, $12, 0x7
0582: 98641813 ushr $03, $03, $04
0583: c860ffcf brne $03, b0, #l1362
0584: b8030136 cread $03, [$00 + @SECURE_MODE]
@@ -14751,9 +14751,9 @@ jumptbl:
0952: d8000000 l2386:
0952: d8000000 waitin
0953: 981f0806 mov $01, $data
- 0954: 2a420003
- 0954: 2a420003 CP_CONTEXT_SWITCH_YIELD:
- 0954: 2a420003 and $02, $12, 0x3
+ 0954: 2a420007
+ 0954: 2a420007 CP_CONTEXT_SWITCH_YIELD:
+ 0954: 2a420007 and $02, $12, 0x7
0955: c040fbfd brne $02, 0x0, #l1362
0956: 01000000 nop
0957: a81f041d cwrite $data, [$00 + 0x41d]
@@ -14794,7 +14794,7 @@ jumptbl:
0976: c8c20014 brne $06, b2, #l2442
0977: 68460004 cmp $06, $02, 0x4
0978: c8c1000f brne $06, b1, #l2439
- 0979: 2a460003 and $06, $12, 0x3
+ 0979: 2a460007 and $06, $12, 0x7
097a: c041000d brne $02, 0x1, #l2439
097b: 71461070 mov $06, 0x1070 << 10
097c: a804040e cwrite $04, [$00 + 0x40e]
@@ -14860,7 +14860,7 @@ jumptbl:
09af: 68a60003 cmp $06, $05, 0x3
09b0: c8c10009 brne $06, b1, #l2489
09b1: ccc2000c breq $06, b2, #l2493
- 09b2: 2a470003 and $07, $12, 0x3
+ 09b2: 2a470007 and $07, $12, 0x7
09b3: c0e0fb9f brne $07, 0x0, #l1362
09b4: 7005042c mov $05, 0x42c ; RBBM_PERFCTR2_SP[0x1]+0
09b5: a8a20000 l2485:
@@ -15285,9 +15285,9 @@ jumptbl:
0b1e: 9c1f0006 (rep)mov $00, $data
0b1f: d8000000 waitin
0b20: 981f0806 mov $01, $data
- 0b21: 2a420003
- 0b21: 2a420003 CP_WHERE_AM_I:
- 0b21: 2a420003 and $02, $12, 0x3
+ 0b21: 2a420007
+ 0b21: 2a420007 CP_WHERE_AM_I:
+ 0b21: 2a420007 and $02, $12, 0x7
0b22: c040fa30 brne $02, 0x0, #l1362
0b23: 731d00a0 mov $addr, 0xa0 << 24 ; |NRT_ADDR
0b24: 981ff806 mov $data, $data
@@ -15297,9 +15297,9 @@ jumptbl:
0b28: 731d0084 mov $addr, 0x84 << 24 ; |WAIT_MEM_WRITES
0b29: d8000000 waitin
0b2a: 981f0806 mov $01, $data
- 0b2b: 2a460003
- 0b2b: 2a460003 CP_INDIRECT_BUFFER_CHAIN:
- 0b2b: 2a460003 and $06, $12, 0x3
+ 0b2b: 2a460007
+ 0b2b: 2a460007 CP_INDIRECT_BUFFER_CHAIN:
+ 0b2b: 2a460007 and $06, $12, 0x7
0b2c: c4c0f68f breq $06, 0x0, #l443
0b2d: 981f1006 mov $02, $data
0b2e: 93e37200 ubfx $03, $data, b0, b16
@@ -15477,9 +15477,9 @@ jumptbl:
0bc3: 18840002 sub $04, $04, 0x2
0bc4: d0000000 ret
0bc5: 9800f806 mov $data, $00
- 0bc6: 2a420003
- 0bc6: 2a420003 CP_FIXED_STRIDE_DRAW_TABLE:
- 0bc6: 2a420003 and $02, $12, 0x3
+ 0bc6: 2a420007
+ 0bc6: 2a420007 CP_FIXED_STRIDE_DRAW_TABLE:
+ 0bc6: 2a420007 and $02, $12, 0x7
0bc7: c440f5f4 breq $02, 0x0, #l443
0bc8: c443f5f3 breq $02, 0x3, #l443
0bc9: 92526025 setbit $12, $12, b18
@@ -15592,9 +15592,9 @@ jumptbl:
0c2c: 01000000 nop
0c2d: d8000000 waitin
0c2e: 981f0806 mov $01, $data
- 0c2f: 2a4c0003
- 0c2f: 2a4c0003 fxn3119:
- 0c2f: 2a4c0003 and $0c, $12, 0x3
+ 0c2f: 2a4c0007
+ 0c2f: 2a4c0007 fxn3119:
+ 0c2f: 2a4c0007 and $0c, $12, 0x7
0c30: 918c2002 shl $0c, $0c, 0x2
0c31: a98e0020 cwrite $0e, [$0c + @IB1_BASE]
0c32: a98b0021 cwrite $0b, [$0c + @IB1_BASE+0x1]
@@ -15773,7 +15773,7 @@ jumptbl:
0cc6: b80300a4 UNKN121:
0cc6: b80300a4 fxn3270:
0cc6: b80300a4 cread $03, [$00 + 0x0a4]
- 0cc7: 2a440003 and $04, $12, 0x3
+ 0cc7: 2a440007 and $04, $12, 0x7
0cc8: 98641813 ushr $03, $03, $04
0cc9: c860f889 brne $03, b0, #l1362
0cca: 2bec1f1f and $0c, $data, 0x1f1f
@@ -15826,7 +15826,7 @@ jumptbl:
0cf5: 2be20001
0cf5: 2be20001 CP_REG_WR_NO_CTXT:
0cf5: 2be20001 and $02, $data, 0x1
- 0cf6: 2a430003 and $03, $12, 0x3
+ 0cf6: 2a430007 and $03, $12, 0x7
0cf7: 70040001 mov $04, 0x1
0cf8: cc400004 breq $02, b0, #l3324
0cf9: 98832012 shl $04, $04, $03
@@ -16059,7 +16059,7 @@ jumptbl:
0dba: 981f2806 CP_RESET_CONTEXT_STATE:
0dba: 981f2806 mov $05, $data
0dbb: b80300a4 cread $03, [$00 + 0x0a4]
- 0dbc: 2a440003 and $04, $12, 0x3
+ 0dbc: 2a440007 and $04, $12, 0x7
0dbd: 98641813 ushr $03, $03, $04
0dbe: c860f794 brne $03, b0, #l1362
0dbf: 01000000 nop
@@ -20760,7 +20760,7 @@ jumptbl:
0052: b80300a4
0052: b80300a4 CP_ME_INIT:
0052: b80300a4 cread $03, [$00 + 0x0a4]
- 0053: 2a440003 and $04, $12, 0x3
+ 0053: 2a440007 and $04, $12, 0x7
0054: 98641813 ushr $03, $03, $04
0055: c86001cc brne $03, b0, #l545
0056: 01000000 nop
@@ -21195,9 +21195,9 @@ jumptbl:
0183: a80000b4 cwrite $00, [$00 + @CACHE_CLEAN_PEND_INCR]
0184: c800ffa6 jump #l298
0185: 31292000 or $09, $09, 0x2000
- 0186: 2a480003
- 0186: 2a480003 CP_INDIRECT_BUFFER:
- 0186: 2a480003 and $08, $12, 0x3
+ 0186: 2a480007
+ 0186: 2a480007 CP_INDIRECT_BUFFER:
+ 0186: 2a480007 and $08, $12, 0x7
0187: 69020003 cmp $02, $08, 0x3
0188: cc40feff breq $02, b0, #l135
0189: 2ae2000f and $02, $17, 0xf
@@ -21227,7 +21227,7 @@ jumptbl:
019f: 0af70001 add $17, $17, 0x1
01a0: 2ae4000f l416:
01a0: 2ae4000f and $04, $17, 0xf
- 01a1: 2a480003 and $08, $12, 0x3
+ 01a1: 2a480007 and $08, $12, 0x7
01a2: c484001f breq $04, 0x4, #l449
01a3: b802003c cread $02, [$00 + 0x03c]
01a4: 28420003 and $02, $02, 0x3
@@ -21239,7 +21239,7 @@ jumptbl:
01aa: 98a3100d cmp $02, $05, $03
01ab: c8400016 brne $02, b0, #l449
01ac: 01000000 nop
- 01ad: 2a420003 and $02, $12, 0x3
+ 01ad: 2a420007 and $02, $12, 0x7
01ae: 70030001 mov $03, 0x1
01af: 98621012 shl $02, $03, $02
01b0: b803007d cread $03, [$00 + 0x07d]
@@ -21273,14 +21273,14 @@ jumptbl:
01ca: ce45ff36
01ca: ce45ff36 IN_IB_END:
01ca: ce45ff36 breq $12, b5, #l256
- 01cb: 2a420003 and $02, $12, 0x3
+ 01cb: 2a420007 and $02, $12, 0x7
01cc: c440febb breq $02, 0x0, #l135
01cd: 1a520001 sub $12, $12, 0x1
01ce: a812003d cwrite $12, [$00 + @IB_LEVEL]
01cf: 92f73004 ushr $17, $17, 0x4
01d0: 2ae2000f and $02, $17, 0xf
01d1: c040ffcf brne $02, 0x0, #l416
- 01d2: 2a420003 and $02, $12, 0x3
+ 01d2: 2a420007 and $02, $12, 0x7
01d3: c0400004 brne $02, 0x0, #l471
01d4: 01000000 nop
01d5: ce580633 breq $12, b24, #l2056
@@ -22544,9 +22544,9 @@ jumptbl:
05fd: 9c1f0006 (rep)mov $00, $data
05fe: d8000000 waitin
05ff: 981f0806 mov $01, $data
- 0600: 2a420003
- 0600: 2a420003 CP_WHERE_AM_I:
- 0600: 2a420003 and $02, $12, 0x3
+ 0600: 2a420007
+ 0600: 2a420007 CP_WHERE_AM_I:
+ 0600: 2a420007 and $02, $12, 0x7
0601: c040fc20 brne $02, 0x0, #l545
0602: 731d00a0 mov $addr, 0xa0 << 24 ; |NRT_ADDR
0603: 981ff806 mov $data, $data
@@ -22556,9 +22556,9 @@ jumptbl:
0607: 731d0084 mov $addr, 0x84 << 24 ; |WAIT_MEM_WRITES
0608: d8000000 waitin
0609: 981f0806 mov $01, $data
- 060a: 2a460003
- 060a: 2a460003 CP_INDIRECT_BUFFER_CHAIN:
- 060a: 2a460003 and $06, $12, 0x3
+ 060a: 2a460007
+ 060a: 2a460007 CP_INDIRECT_BUFFER_CHAIN:
+ 060a: 2a460007 and $06, $12, 0x7
060b: c4c0fa7c breq $06, 0x0, #l135
060c: 981f1006 mov $02, $data
060d: 93e37200 ubfx $03, $data, b0, b16
@@ -22617,7 +22617,7 @@ jumptbl:
0639: 2be20001
0639: 2be20001 CP_REG_WR_NO_CTXT:
0639: 2be20001 and $02, $data, 0x1
- 063a: 2a430003 and $03, $12, 0x3
+ 063a: 2a430007 and $03, $12, 0x7
063b: 70040001 mov $04, 0x1
063c: cc400004 breq $02, b0, #l1600
063d: 98832012 shl $04, $04, $03
@@ -23180,8 +23180,8 @@ jumptbl:
080a: 920473ec ubfx $04, $10, b12, b31
080b: ce580029 breq $12, b24, #l2100
080c: c4800084 breq $04, 0x0, #l2192
- 080d: 2a510003 l2061:
- 080d: 2a510003 and $11, $12, 0x3
+ 080d: 2a510007 l2061:
+ 080d: 2a510007 and $11, $12, 0x7
080e: 1a310001 sub $11, $11, 0x1
080f: 9a118006 or $10, $10, $11
0810: a81004f0 cwrite $10, [$00 + 0x4f0]
@@ -23294,7 +23294,7 @@ jumptbl:
0875: b0520000 load $12, [$02 + 0x0]
0876: 28630001 and $03, $03, 0x1
0877: b0570004 load $17, [$02 + 0x4]
- 0878: 2a510003 and $11, $12, 0x3
+ 0878: 2a510007 and $11, $12, 0x7
0879: 1a310001 sub $11, $11, 0x1
087a: 084c0008 add $0c, $02, 0x8
087b: 980c8006 mov $10, $0c
@@ -23858,7 +23858,7 @@ jumptbl:
0a67: 01000000 nop
jumptbl:
.jumptbl
-[30373232]
-[32303234]
+[30343038]
+[32303235]
[79757069]
[646f6e67]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment