Question

Write a program that outputs "Hello World!" in assembly language using the MASM assembler. Code should...

Write a program that outputs "Hello World!" in assembly language using the MASM assembler. Code should be in 32 bit code. preferably in visual studio

0 0
Add a comment Improve this question Transcribed image text
Answer #1

include\masm32\include\masm32rt.inc
.data
str1 db 'Hello World!'
.code
start:
lea edx,str1
inkey edx ; print the string
end start

; save file with filename.asm
; assembling in cmd using \masm32\bin\ml /c /Zd /coff filename.asm
; linking object file \masm32\bin\Link /SUBSYSTEM:CONSOLE filename.obj
; run using filename

Add a comment
Know the answer?
Add Answer to:
Write a program that outputs "Hello World!" in assembly language using the MASM assembler. Code should...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT