Home /
Expert Answers /
Computer Science /
convert-this-c-program-exactly-as-you-see-it-into-x86-assembly-language-use-the-irvine-libra-pa657
(Solved):
Convert this C++ program exactly as you see it into x86 assembly language: // Use the Irvine libra ...
Convert this C++ program exactly as you see it into x86 assembly language: // Use the Irvine library for the print function #include QUESTION 1 // The string that needs to be printed char word [] = "Golf\0"; // Pointer to a specific character in the string char character = word; // NOTE: This main () function is not portable outside of Visual Studio void main() { // Set up a LOOP- See the while loop's conditional expression below int ecx = 4; do { T following two lines of code: // Print the character // In x86 assembly language you must use the } // mov al, WHATEVER_CHARACTER_YOU_WANT_TO_PRIN // call WriteChar std::cout << *character; // Increment the pointer ++character; } while (--ecx != 0); // In x86 assembly language you must use the following line of code: // call CrLf std::cout << std::endl; // In x86 assembly language you must use the following line of code: Attach Fila // call WaitMsg system ("PAUSE");