public static function opcode29(Core $core) { $core->registerE = $core->unsbtub($core->registerE - 1); $core->FZero = $core->registerE == 0; $core->FHalfCarry = ($core->registerE & 0xf) == 0xf; $core->FSubtract = true; }