def convert_decimal_to_ascii_code(decimal_num: int) -> int:
    """
    Converts six-bit decimal number to ASCII code (AIVDM Payload Armoring).
    """
    if decimal_num < 0 or decimal_num > 63:
        raise ValueError('Wrong decimal number')
    if decimal_num not in range(33,40) and decimal_num + 8 > 40:
        decimal_num += 8
    ascii_code = decimal_num + 48
    return ascii_code