Question: ASSEMBLY LANGUAGE I really need help! I need to Write a program using author's routine, WriteString, to print Hello World. The professor recommends Visual Studios,
ASSEMBLY LANGUAGE
I really need help! I need to Write a program using author's routine, WriteString, to print "Hello World". The professor recommends Visual Studios, but since I don't have that right now I am using an online compiler. To print the message, we will use the author's routine, WriteString. This routine will output to the screen any character data pointed to by the EDX register. It will continue to print until it runs into the null character (zero). We need only to move the address into the EDX register and call his routine. Answer the question asked in the program.
THIS IS MY ANWER (CLICK LINK): (IMAGE BELOW TOO)
https://goo.gl/9AEPh4
I JUST WANT TO KNOW IF MY ANSWER IS CORRECT:

INCLUDE Irvine 32.inc CR 13 LF EQU 10 TEXTEQU "Hello World", CR, LF, 0 msg data helloMsg BYTE msg 386 model flat,stdcall stack 4096 ExitProcess proto,dwExitCode:dword code main PROC START call Clrscr mov EDX, OFFSET helloMsg Print "Hello World" call Writestring exit Stop invoke ExitProcess, 0 main endp end main
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
