Visual Studio Code – Why does the disassembly of this function show a two-operand idiv?
I wrote the following C program: #include "stdio.h" __declspec(noinline) void DivideTest(int num, int denom) { int quo = num / denom; int rem = num % denom; printf("Quotient: %dnRemainder: %dn", quo, rem); } int main(int argc, char* argv[]) { //Use…