News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

How to print.

Started by ShadowNin, April 03, 2020, 07:53:47 PM

Previous topic - Next topic

ShadowNin

Hello, i am a beginner in assembly language and i would like to know how would one print for 32 bit program in X86 assembler. Thank You very much :azn:

jj2007

Like this:
include \masm32\include\masm32rt.inc
.code
start:
  inkey "Hello ShadowNin"
  exit
end start

Vortex

Another one :
include     \masm32\include\masm32rt.inc

.data

string      db 'Hello world!',0

.code

start:

    invoke  StdOut,ADDR string

    invoke  ExitProcess,0

END start