Search this site

Sunday, April 3, 2011

TASM

I just studying this programming language
after around 3 hour I spent
all I can do is only to understand

--------------------------------------------------------------

how to compile

--------------------------------------------------------------

open your CMD
cd to your TASM folder
write: (if my file name is d_frEak.asm)

TASM d_frEak.asm

then if success there is no error message

tlink/t d_frEak

then

d_frEak

--------------------------------------------------------------

how to print one character only

--------------------------------------------------------------

MOV AH,02h ; The service to print character
MOV DL,'U' ; DL = character you want to print
INT 21h ; print it !!
INT 20h ; end of program

No comments:

Post a Comment