def linaddr(seg: int, off: int) -> int:
    """Convert a segmented address into a 20 bits linear address.

    Args:
        seg: segment value
        off: offset value

    Returns: effective linear address
    """

    return (seg << 4) + off