The ARM7TDMI's halfword loads at an odd address (ARMv4's UNPREDICTABLE) are its bus's: LDRH reads the aligned halfword rotated a byte through its 32 bits, LDRSH the byte there sign extended, which the GBA's games and tests read so. GuestReadHalfwordV4(address, signed) is that load's 32 bits; these are sail-arm's three T16 halfword loads with it in the place of ZeroExtend or SignExtend of MemU on ArchVersion() 4, the rest as they are
val GuestReadHalfwordV4 : (bits(32), bool) -> bits(32)
Made from ScarletNX's Sail at 166ad3910f80. sail-arm's definitions are Arm's ASL in Sail (BSD 3-Clause Clear, license); ScarletNX's fixups are GPL-3.0-or-later.