The invention discloses a
memory controller and an operation method thereof, a storage
system and an electronic
system, and belongs to the technical field of storage. The
memory controller includes: a storage device configured to store a
firmware algorithm; the
algorithm execution hardware comprises an operation expression, and the operation expression is obtained according to
firmware algorithm configuration; and the processor is connected with the storage device and the algorithm execution hardware, and the processor is configured to call the algorithm execution hardware to execute the arithmetic expression to obtain an operation result of the
firmware algorithm when the firmware algorithm is executed. According to the
memory controller, the execution of the firmware algorithm can be realized through the combination of the arithmetic expression and the algorithm execution hardware, the execution of the firmware algorithm can be realized without preparing a special circuit, and the flexibility and the universality are relatively high. If the firmware algorithm needs to be updated, execution of the updated firmware algorithm can be realized only by reconfiguring the arithmetic expression included in the algorithm execution hardware according to the updated firmware algorithm, a circuit does not need to be changed, and the cost is relatively low.