[SKIP CI]

This commit is contained in:
wrapper 2026-03-24 15:36:17 +07:00
parent a06a4269bc
commit 152efc0e0b
2 changed files with 4 additions and 4 deletions

View file

@ -593,7 +593,7 @@ def runHAS(j: JLink, has: str):
case 0x18: # 0xe7
offset, mask = struct.unpack("<LL", myHAS.read(0x8))
print(f"{cmd} (UNKNOWN) {hex(offset)} {hex(mask)}")
print(f"{cmd} (WRITE OR) {hex(offset)} &= {hex(mask)}")
case 0x25: # 0xda
mask, cond, branch = struct.unpack("<LLL", myHAS.read(0xc))
@ -613,7 +613,7 @@ def runHAS(j: JLink, has: str):
case 0x29: # 0xd6
offset, value = struct.unpack("<LL", myHAS.read(8))
print(f"{cmd} (WRITE OR): {hex(offset)} &= {hex(value)}")
print(f"{cmd} (WRITE OR): {hex(offset)} &= ~{hex(value)}")
case 0x2a: # 0xd5
offset, mask, value = struct.unpack("<LLL", myHAS.read(0xc))

View file

@ -82,7 +82,7 @@ if __name__ == "__main__":
case 0x18: # 0xe7
offset, mask = struct.unpack("<LL", f.read(0x8))
print(f"{cmd} (UNKNOWN) {hex(offset)} {hex(mask)}")
print(f"{cmd} (WRITE OR) {hex(offset)} &= {hex(mask)}")
case 0x25: # 0xda
mask, cond, branch = struct.unpack("<LLL", f.read(0xc))
@ -102,7 +102,7 @@ if __name__ == "__main__":
case 0x29: # 0xd6
offset, value = struct.unpack("<LL", f.read(8))
print(f"{cmd} (WRITE OR): {hex(offset)} &= {hex(value)}")
print(f"{cmd} (WRITE OR): {hex(offset)} &= ~{hex(value)}")
case 0x2a: # 0xd5
offset, mask, value = struct.unpack("<LLL", f.read(0xc))