The last Assembly program we did in class displayed the following: ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ `abcdefghijklmnopqrst
Posted: Sun May 15, 2022 10:11 am
Program we did in class :
The last Assembly program we did in class displayed the following: ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ `abcdefghijklmnopqrstuvwxyz You can see that it includes a few characters that are not letters. Accordingly, edit the existing and create a new program that Displays the following ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
.data ; to declare variables .code; the code for the program main proc mov dl, 41h LP1: mov ah, 6; displays the value of the DL register int 21h ; library call INC DL ; DL = DL + 1 CMP DL, 7BH JS LP1 mov ax, 4c00h ; ends the program int 21h ; library call main endp end main I
The last Assembly program we did in class displayed the following: ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ `abcdefghijklmnopqrstuvwxyz You can see that it includes a few characters that are not letters. Accordingly, edit the existing and create a new program that Displays the following ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
.data ; to declare variables .code; the code for the program main proc mov dl, 41h LP1: mov ah, 6; displays the value of the DL register int 21h ; library call INC DL ; DL = DL + 1 CMP DL, 7BH JS LP1 mov ax, 4c00h ; ends the program int 21h ; library call main endp end main I