import struct


def combine_u32_registers(registers):
    """ combine two registers for 32-bit int output """
    raw = struct.pack('>HH', registers[0], registers[1])

    return struct.unpack('>I', raw)[0]