parent
1840945596
commit
0699518ae9
@ -0,0 +1,22 @@
|
||||
#include <vmlifters.hpp>
|
||||
|
||||
namespace vm::lifters
|
||||
{
|
||||
lifter_t sregq = {
|
||||
// pop vregX
|
||||
vm::handler::SREGQ, []( vtil::basic_block *blk, vm::instrs::virt_instr_t *vinstr ) {
|
||||
blk->pop( make_virtual_register( vinstr->operand.imm.u, 8 ) );
|
||||
} };
|
||||
|
||||
lifter_t sregdw = {
|
||||
// pop vregX
|
||||
vm::handler::SREGDW, []( vtil::basic_block *blk, vm::instrs::virt_instr_t *vinstr ) {
|
||||
blk->pop( make_virtual_register( vinstr->operand.imm.u, 4 ) );
|
||||
} };
|
||||
|
||||
lifter_t sregw = {
|
||||
// pop vregX
|
||||
vm::handler::SREGW, []( vtil::basic_block *blk, vm::instrs::virt_instr_t *vinstr ) {
|
||||
blk->pop( make_virtual_register( vinstr->operand.imm.u, 2 ) );
|
||||
} };
|
||||
} // namespace vm::lifters
|
Loading…
Reference in new issue