A method of controlling a nonvolatile memory, the nonvolatile memory including a memory cell array including a plurality of pages, an input/output buffer, and one or more intermediate buffers each electrically connected between the memory cell array and the input/output buffer, said method comprising:
- storing, in a first intermediate buffer, data read through a sensing operation from a first page out of the plurality of pages in accordance with a first command that includes a first sensing operation instruction and designation of the first intermediate buffer among the one or more intermediate buffers;
- and
- storing, in the input/output buffer, data read through a sensing operation from a third page out of the plurality of pages in accordance with a third command that includes a third sensing operation instruction and does not include designation of any of the intermediate buffers, and outputting the data stored in the input/output buffer in accordance with a fourth command that includes an output instruction.