As per SOLAS chapter V, Regulation 21,
All ships which, in accordance with the present Convention, are required to carry a radio installation shall carry the International Code of Signals as may be amended by the Organization. The Code shall also be carried by any other ship which, in the opinion of the Administration, has a need to use it.