摘要 |
<P>PROBLEM TO BE SOLVED: To safely implement a logical operation by performing mask processing on a variable with an optional data length. <P>SOLUTION: A logical operation device performs the mask processing of each variable with the same mask value as the data length of each variable of a software, and converts a logical operation instruction included in software processing in which the variable is mask processed. Based on the converted logical operation instruction, the device executes the logical operation, and restores the original variable from the masked variable after processing the logical operation. Thus, by performing the mask processing of each variable with the same mask value as the data length of each variable of the software, the mask processing can be performed on the variable with the optional data length, and the logical operation can be safely executed. <P>COPYRIGHT: (C)2012,JPO&INPIT |