PPC_HI
#define PPC_HA(v) PPC_HI((v) + 0x8000)
if (patch_location_16(location, PPC_HI(value)))
patch_instruction(addr++, ppc_inst(PPC_RAW_LIS(reg, PPC_HI(val))));
patch_instruction(addr++, ppc_inst(PPC_RAW_ORIS(reg, reg, PPC_HI(val))));