Im having alot of trouble with this program; please show step by step (running a
ID: 669375 • Letter: I
Question
Im having alot of trouble with this program; please show step by step
(running a masa program with microsoft visual studio)
The Textbook Examples are already saved in c:irvine.Your are required to save a copy to another place, for example, your own flash driver.
Open a source file from the place you saved, for example, F:irvineexamplesch03Project_samplesmain.asm. Compile, build and run this code.
Make a modification for the source code and run it again.
4.Run the EXE file in DOS Command.
Following is the sample code
TITLE MASM Template (main.asm)
; Description:
; Required.
; Revision date: Required.
INCLUDE Irvine32.inc
.data
myMessage BYTE "MASM program example",0dh,0ah,0
.code
main PROC
call Clrscr
mov edx,OFFSET myMessage
call WriteString/
exit
main ENDP
END main
Explanation / Answer
This will print "MASM program example to the console".