The invention relates to a method and a device of
microprocessor data operation definition. The device comprises an integral solution linear equation unit, a check computation unit, a time calculation unit, a
protocol processing unit, a character conversion unit, a
serial port operation unit, an
input method content reading unit, a write specified channel dynamic curve buffer unit and a Chinese character
library operation unit. The integral solution linear equation unit is used for calculating the coordinate value of a certain point in a linear equation; the check computation unit is used for performing cyclic redundancy checking and the like; the time calculation unit is used for calculating time intervals; the
protocol processing unit is used for acquiring data frames matching with
MODBUS data frames; the character conversion unit is used for performing conversion among various data formats; the
serial port operation unit is used for sending data to a receiving memory from an external device or sending data to the external device from a sending memory; the
input method content reading unit is used for storing mostly inputted characters into a register; the write specified channel dynamic curve buffer unit is used for adding augmenter to an unsigned integer and then storing the integer into a dynamic curve buffer; and the Chinese character
library operation unit is used for searching for to-be-searched character series in a Chinese character
library. By the aid of the method and the device of the
microprocessor data operation definition, the function of multiple commands is implemented by one command, and command use is easier and more convenient.