n = (q^2)/3 - a*d +5
#include <iostream>
#include <math.h>
using namespace std;
int main() {
short q = 9, a = 5, d = -3, b, temp;
__asm
{
//n = (q^2)/3 - a*d +5
Ассемблерная вставка
}
cout << "n = (q^2)/3 - a*d +5 = " << b << "\n\n";
}