|
@ -39,13 +39,13 @@ const std::map<std::string, Instruction> dev::eth::c_instructions = |
|
|
{ "MOD", Instruction::MOD }, |
|
|
{ "MOD", Instruction::MOD }, |
|
|
{ "SMOD", Instruction::SMOD }, |
|
|
{ "SMOD", Instruction::SMOD }, |
|
|
{ "EXP", Instruction::EXP }, |
|
|
{ "EXP", Instruction::EXP }, |
|
|
{ "BNOT", Instruction::BNOT }, |
|
|
{ "BNOT", Instruction::NOT }, |
|
|
{ "LT", Instruction::LT }, |
|
|
{ "LT", Instruction::LT }, |
|
|
{ "GT", Instruction::GT }, |
|
|
{ "GT", Instruction::GT }, |
|
|
{ "SLT", Instruction::SLT }, |
|
|
{ "SLT", Instruction::SLT }, |
|
|
{ "SGT", Instruction::SGT }, |
|
|
{ "SGT", Instruction::SGT }, |
|
|
{ "EQ", Instruction::EQ }, |
|
|
{ "EQ", Instruction::EQ }, |
|
|
{ "NOT", Instruction::NOT }, |
|
|
{ "NOT", Instruction::ISZERO }, |
|
|
{ "AND", Instruction::AND }, |
|
|
{ "AND", Instruction::AND }, |
|
|
{ "OR", Instruction::OR }, |
|
|
{ "OR", Instruction::OR }, |
|
|
{ "XOR", Instruction::XOR }, |
|
|
{ "XOR", Instruction::XOR }, |
|
@ -172,13 +172,13 @@ static const std::map<Instruction, InstructionInfo> c_instructionInfo = |
|
|
{ Instruction::MOD, { "MOD", 0, 2, 1 } }, |
|
|
{ Instruction::MOD, { "MOD", 0, 2, 1 } }, |
|
|
{ Instruction::SMOD, { "SMOD", 0, 2, 1 } }, |
|
|
{ Instruction::SMOD, { "SMOD", 0, 2, 1 } }, |
|
|
{ Instruction::EXP, { "EXP", 0, 2, 1 } }, |
|
|
{ Instruction::EXP, { "EXP", 0, 2, 1 } }, |
|
|
{ Instruction::BNOT, { "BNOT", 0, 1, 1 } }, |
|
|
{ Instruction::NOT, { "BNOT", 0, 1, 1 } }, |
|
|
{ Instruction::LT, { "LT", 0, 2, 1 } }, |
|
|
{ Instruction::LT, { "LT", 0, 2, 1 } }, |
|
|
{ Instruction::GT, { "GT", 0, 2, 1 } }, |
|
|
{ Instruction::GT, { "GT", 0, 2, 1 } }, |
|
|
{ Instruction::SLT, { "SLT", 0, 2, 1 } }, |
|
|
{ Instruction::SLT, { "SLT", 0, 2, 1 } }, |
|
|
{ Instruction::SGT, { "SGT", 0, 2, 1 } }, |
|
|
{ Instruction::SGT, { "SGT", 0, 2, 1 } }, |
|
|
{ Instruction::EQ, { "EQ", 0, 2, 1 } }, |
|
|
{ Instruction::EQ, { "EQ", 0, 2, 1 } }, |
|
|
{ Instruction::NOT, { "NOT", 0, 1, 1 } }, |
|
|
{ Instruction::ISZERO, { "NOT", 0, 1, 1 } }, |
|
|
{ Instruction::AND, { "AND", 0, 2, 1 } }, |
|
|
{ Instruction::AND, { "AND", 0, 2, 1 } }, |
|
|
{ Instruction::OR, { "OR", 0, 2, 1 } }, |
|
|
{ Instruction::OR, { "OR", 0, 2, 1 } }, |
|
|
{ Instruction::XOR, { "XOR", 0, 2, 1 } }, |
|
|
{ Instruction::XOR, { "XOR", 0, 2, 1 } }, |
|
|