uCosminexus Service Platform, Basic Development Guide

[Contents][Glossary][Index][Back][Next]

6.13.14 ShiftObjects(Shift operation function)

This section defines the Shift operation function (shift).

Organization of this subsection
(1) Definition item
(2) Definition example

(1) Definition item

Following table describes definition items:

Table 6-39 TableShiftObjectsDefinition item

Item name Definition contents Value that you can define Additional description
Name Function name Value of NCName type This is mandatory item. You cannot define the Name in Objects, in duplication.
Input Input See "6.12.2 Setting up the mapping definition" -
ShiftAmount Shift volume (bit) Numeric value in the range of 0~64 This is mandatory item.
OutputSize Output size (bit) Numeric value in the range of 1~64 This is mandatory item.
ShiftDirection Shift direction "left" or "right" This is mandatory item.
ShiftType Shift type "arithmetic" or "logical" This is mandatory item when ShiftDirection is "right".
In other cases, setting value is not incorporated.
"arithmetic" is the arithmetic shift.
"logical" is the logical shift.

(Legend)
-: Corresponding item does not exist.

(2) Definition example

Following figure shows the definition example:

Figure 6-78 FigureShiftObjectsDefinition example

[Figure]