Data filling method and device, computer equipment and storage medium
The invention relates to a data filling method and device, computer equipment and a storage medium. The method comprises the steps of obtaining a message filling instruction; responding to the message filling instruction, storing the target data into a message register according to a sequence, and d...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to a data filling method and device, computer equipment and a storage medium. The method comprises the steps of obtaining a message filling instruction; responding to the message filling instruction, storing the target data into a message register according to a sequence, and determining the highest bit of the message register; based on the highest bit of the message register and the specific bit of the data length register, determining the filling length corresponding to the last group of message words in the target data; and controlling the last group of message words to move leftwards in the message register by utilizing the filling length so as to complete filling of the last group of message words. According to the method, the filling length of the last group of message words is calculated, and the left shift of the last group of message words is completed according to the filling length, so that CPU resources are saved, the system operation efficiency is improved, and the practical |
---|