#include <GenericOperation.h>
Public メソッド | |
RegisterType | operator() (OpEmulationState *opState) |
GenericOperation.h の 586 行で定義されています。
RegisterType Onikiri::EmulatorUtility::Operation::CarryOfAdd< Type, TSrc1, TSrc2 >::operator() | ( | OpEmulationState * | opState | ) | [inline] |
GenericOperation.h の 588 行で定義されています。
参照先 Type.
00589 { 00590 Type lhs = static_cast<Type>( TSrc1()(opState) ); 00591 Type rhs = static_cast<Type>( TSrc2()(opState) ); 00592 00593 if (lhs + rhs < rhs) 00594 return 1; 00595 else 00596 return 0; 00597 }