from typing import List


def get_params(opcode: int) -> List[int]:
    """Get params from an `opcode`.

    Args:
        opcode (int): the opcode to extract params

    Returns:
        list: of length 0-2

    """
    if opcode < 100:
        return []
    return [int(p) for p in str(opcode//100)]