From 5396e24cba8390ca2d70d99c7e8772eee4ec3a11 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Tue, 18 May 2021 13:01:59 -0700 Subject: . --- html/linux/bootstrap/017jump_disp8.cc.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'html/linux/bootstrap/017jump_disp8.cc.html') diff --git a/html/linux/bootstrap/017jump_disp8.cc.html b/html/linux/bootstrap/017jump_disp8.cc.html index 0c36125f..97457a1f 100644 --- a/html/linux/bootstrap/017jump_disp8.cc.html +++ b/html/linux/bootstrap/017jump_disp8.cc.html @@ -463,6 +463,30 @@ if ('onhashchange' in window) { 405 ); 406 CHECK_TRACE_DOESNT_CONTAIN("run: jump 5"); 407 } +408 +409 //:: jump if overflow +410 +411 :(before "End Initialize Op Names") +412 put_new(Name, "70", "jump disp8 bytes away if OF is set (jcc/jo)"); +413 put_new(Name, "71", "jump disp8 bytes away if OF is unset (jcc/jno)"); +414 +415 :(before "End Single-Byte Opcodes") +416 case 0x70: { // jump disp8 if OF is set +417 const int8_t offset = static_cast<int>(next()); +418 if (OF) { +419 trace(Callstack_depth+1, "run") << "jump " << NUM(offset) << end(); +420 EIP += offset; +421 } +422 break; +423 } +424 case 0x71: { // jump disp8 if OF is unset +425 const int8_t offset = static_cast<int>(next()); +426 if (!OF) { +427 trace(Callstack_depth+1, "run") << "jump " << NUM(offset) << end(); +428 EIP += offset; +429 } +430 break; +431 } -- cgit 1.4.1-2-gfad0