In the case of specifying a special mode in the conventional semiconductor memory device shown in FIG. 1, the number of special modes, or the number of different kinds of special modes permitted to be specified is limited by the number of external input terminals.