Assembly: JA and JB work incorrectly
问题 Since my main OS is linux and have project on visual studio, I decided to use online compilers to achieve it. I found this which was suggested by many. So here is my code: #include <iostream> using namespace std; int main(void) { float a = 1; float b = 20.2; float res = 0; float res1 = 0; _asm { FLD a FCOM b JA midi JMP modi midi: FST res JMP OUT modi: FST res1 JMP OUT } OUT: cout << "res = " << res << endl; cout << "res1 = " << res1 << endl; return 0; } My goal is simple, if a is greater