Writtin’ ASM

I’m showin’ you an example of ASM Text, I recomend you to download MASM32 before, MASM is a compiler for ASM and it works completly nice, Download it here. Heres, the example you’re waiting:

[— Cut Here —]
%OUT————————————————————————-
%OUT- Written by MSBasic         –
%OUT————————————————————————-
; To compile:   TASM examp1.asm                                             –
;               TLINK examp1.obj                                            –
;—————————————————————————-
.model small
.stack
.data
message   db “Hello world, I’m learning Assembly !!!”, “$”

.code

main   proc
   mov   ax,seg message
   mov   ds,ax

   mov   ah,09
   lea   dx,message
   int   21h

   mov   ax,4c00h
   int   21h
main   endp
end main
[— Cut Here —]

If you want to download the full compiled file, click here.

-MSBasicx-

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: