updated jmp lifter...

merge-requests/11/head
_xeroxz 3 years ago
parent 44e412cffb
commit a99d7a9f0a

@ -9,10 +9,10 @@ namespace vm::lifters
if ( code_blk->jcc.has_jcc ) if ( code_blk->jcc.has_jcc )
{ {
// TODO: figure out what bit the JCC is determined on... // TODO: figure out what bit the JCC is determined on...
blk->js( vtil::REG_FLAGS.select( 1, 11 ), code_blk->jcc.block_addr[ 0 ], blk->js( vtil::REG_FLAGS.select( 1, 11 ), code_blk->jcc.block_addr[ 0 ] - vinstr->trace_data.regs.r13,
code_blk->jcc.block_addr[ 1 ] ); code_blk->jcc.block_addr[ 1 ] - vinstr->trace_data.regs.r13 );
} }
else else
blk->jmp( vinstr->trace_data.vsp.qword[ 0 ] ); blk->jmp( vinstr->trace_data.vsp.qword[ 0 ] - vinstr->trace_data.regs.r13 );
} }; } };
} }
Loading…
Cancel
Save