ASSEMBLY LANGUAGE I really need help! I need to Write a program using author\'s
ID: 3797307 • Letter: A
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, 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 mainExplanation / Answer
Yes your answer is correct only. compile this code once you get the visual studios you will get the answer
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.