#include <GenericOperation.h>
Public メソッド | |
Type | operator() (OpEmulationState *opState) |
GenericOperation.h の 700 行で定義されています。
Type Onikiri::EmulatorUtility::Operation::LShiftR< Type, TSrc1, TSrc2, count_mask >::operator() | ( | OpEmulationState * | opState | ) | [inline] |
GenericOperation.h の 702 行で定義されています。
参照先 Onikiri::EmulatorUtility::cast_to_unsigned()・Type.
00703 { 00704 Type value = static_cast<Type>( TSrc1()(opState) ); 00705 typename TSrc2::result_type count = static_cast<typename TSrc2::result_type>( TSrc2()(opState) ) & count_mask; 00706 00707 if (count >= sizeof(Type)*8) 00708 return 0; 00709 else 00710 return static_cast<Type>( cast_to_unsigned( cast_to_unsigned(value) >> count ) ); 00711 }
関数の呼び出しグラフ: