Hello, for the problem please write the AT-Robot assembly code equivalent to the short piece of C/C++ code provided. As
Posted: Wed Apr 27, 2022 3:15 pm
Hello, for the problem please write the AT-Robot assembly code
equivalent to the short piece of C/C++ code provided. As you
complete the following conversions from C/C++ code to AT-Robot
assembly, be sure only the variables/registers modified in the
original code are modified in your code⦠all other
variables/registers used in the original code should not have their
values changed
if(dog < egg) { ax++; } else if(cat == fx) { bx-- } else { ax = cx + bx; }
equivalent to the short piece of C/C++ code provided. As you
complete the following conversions from C/C++ code to AT-Robot
assembly, be sure only the variables/registers modified in the
original code are modified in your code⦠all other
variables/registers used in the original code should not have their
values changed
if(dog < egg) { ax++; } else if(cat == fx) { bx-- } else { ax = cx + bx; }