Program To Print Ascii Table in Assembly Language
.MODEL SMALL
.STACK 100H
.DATA
PROMPT DB "The 256 ASCII Characters are ",0AH,"$"
nxtline DB 0AH,"$"
.CODE
start:
MOV AX, @DATA ; initialize DS
MOV DS, AX
LEA DX, PROMPT ; load and print PROMPT
MOV AH, 9h
INT 21H
MOV Cl, 0 ; initialize CL
MOV AH, 2 ; set output function
LP: ; loop label
Mov DL, CL
MOV AH ,2H ; print ASCII character
INT 21H
LEA DX, nxtline
MOV AH,9H
INT 21H
INC CL ; Increment CL
CMP CL , 255D
JNE LP ; jump to label LP if CL is 255
MOV AX,4C00H
INT 21H
END start
Tags: Program To Print Ascii Table in Assembly Language Assembly language program in assembly language printing ascii values in assembly language COAL coal program coal programming Ascii values Ascii Table in Assembly
Here is how you should write your research paper. You should take a look at this article.
BalasHapusCBD but don’t know where to start, we have best hemp cigarettes put together this quick and convenient guide to answer your questions and help clarify some common misconceptions regarding CBD and its use.
BalasHapusThanks for the blog filled with so many information.
BalasHapusigoal แทงหวย