+ 1
How to print a character in assembly level programing
3 Answers
+ 2
.MODEL SMALL
.STACK 100H
.CODE
MAIN PROC
MOV AH, 2 ; display the character \'@\'.
MOV DL, \"@\"
INT 21H
MOV AH, 4CH ; return control to DOS
INT 21H
MAIN ENDP
END MAIN
+ 1
Reply for kamlesh kumar code
Thanks for the code
But it only works for 16 bits
I need a program for 32 or 64 bit processor
Use eax, ebx .... Registers