Write an assembly program to READ YOUR NAME AND DISPLAY IT IN NEWLINE title read and display name dosseg .model small .stack 100H .code main proc mov ax, @data ; initialize ds register mov ds, ax mov ah, 09h ; display message1 mov dx, offset msg1 int 21h mov ah,
Read more →Write an assembly program to REVERSE THE GIVEN DIGITS title to reverse the given digits dosseg .model small .stack 100H .code main proc mov ax, @data ; initialize ds register mov ds, ax mov ax, value1 ; move number to ax mov cx, 0000h ; remainder r = 0 mov
Read more →Write an assembly program to COPY A BLOCK OF DATA FROM ONE MEMORY TO ANOTHER title copy a block of data from one memory to another dosseg .model small .stack 100H .code main proc mov ax, @data ; initialize ds register mov ds, ax mov SI, offset array1 ; source
Read more →Write an assembly language program (Intel 8086) to READ A STRING, CONVERT IT INTO UPPER CASE AND FINALLY DISPLAY THE CONVERTED STRING title ALP to read a string, convert it into upper case and display the converted string dosseg .model small .stack 100H .code main proc far mov ax, @data
Read more →Write an assembly program to CHECK NUMBER OF VOWELS title check number of vowels dosseg .model small .stack 100H .code main proc mov ax, @data ; initialize ds register mov ds, ax mov si, offset string mov cx, length ; length in cx register mov bl, 00 ; vowel =
Read more →title reverse the given string dosseg .model small .stack 100h .code main proc mov ax, @data mov ds, ax mov si, offset string ;load base address of string in si register mov cx, len ;move length in cx register add si, cx ;character incrementing ie SI=SI+CX, one character beyond string
Read more →title ALP to count negative (-ve) numbers from a given list of 10 numbers dosseg .model small .stack 100 .code main proc mov ax, @data mov ds, ax mov cx, 0ah ;counter of 10 mov si, offset list ;array accessing mov bl, 00h ;counts -ve numbers mov al, 07Fh ;largest
Read more →title SUM THE NUMBERS FROM 1-100 dosseg .model small .stack 100H .code main proc mov ax, 0 mov cx, 10h ; loop count=10 BACK: add ax, cx ; add two numbers loop BACK ; repeat until cx=0 mov ax, 4c00h ; return to DOS int 21h main endp end main
Read more →Find the largest element in a block of data. The length of block is 0A H. Store the maximum value in memory location result. Use an Assembly Language Program for Intel 8086. title largest element in a block of data dosseg .model small .stack 100H .code main proc mov
Read more →Objectives To provide basic architectural and designing concepts of computers. This course gives comprehensive view of basic computer architecture. 1. Central Processing Unit: ( 8 hours) 1.1 Hardwired and Microprogramed 1.2 Arithmetic Logic Unit 1.3 Instruction 1.4 Addressing Modes 1.5 Data transfer and manipulation program control ( status, branch, subroutine
Read more →
