Question: 17. Write a complete NASM program with a subroutine to implement the following (10 points) ; void writeString(string addressofChars, int numberOfChars) ; Argument 1: The

17. Write a complete NASM program with a subroutine to implement the following (10 points) ; void writeString(string addressofChars, int numberOfChars) ; Argument 1: The address where the string is located ; Argument 2: The number of characters/bytes to write In the main program, use the writeString method to print the following two messages "Welcome to COSC 2331" "Assembly Language rocks!" Make sure that you declare the message strings in the data section. Remember to exit the program 17. Write a complete NASM program with a subroutine to implement the following (10 points) ; void writeString(string addressofChars, int numberOfChars) ; Argument 1: The address where the string is located ; Argument 2: The number of characters/bytes to write In the main program, use the writeString method to print the following two messages "Welcome to COSC 2331" "Assembly Language rocks!" Make sure that you declare the message strings in the data section. Remember to exit the program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
