Aim: – To write an assembly language program to count number of positive and negative numbers from a given series of numbers. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 MOV AX, DATA MOV DS, AX MOV CL, 05 XOR BL, BL XOR DL, [...]
Aim: – To write an assembly language program to count the number of even and odd numbers from a given series. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 MOV CL, 05 XOR BL, BL XOR DL, DL LEA SI, SERIES NEXT2: MOV AL, [SI] SHR [...]
Aim: – To write an assembly language program to calculate arithmetic mean of ‘N’ numbers. 1 2 3 4 5 6 7 8 9 10 11 12 13 MOV AX, DATA MOV DS, AX XOR AL, AL LEA SI, NUM MOV CX, 0005 MOV AH, 00 NEXT: ADD AL, [SI] INC SI LOOP NEXT MOV [...]
Aim: – To write an assembly language program to store successive numbers from 00H to FFH in successive memory locations. 1 2 3 4 5 6 7 8 9 10 MOV AX, DATA MOV DS, AX XOR AL, AL LEA SI, VAR MOV CX, 0100 NEXT: MOV [SI], AL INC AL INC SI LOOP NEXT [...]
Aim: – To write an assembly language program to comparing two given strings. 1 2 3 4 5 6 7 8 9 10 11 MOV AX, DATA MOV DS, AX MOV ES, AX CID MOV CX, 07 LEA SI, SR1 LEA DI, SR2 REP CMP, SB JB L1 L1: MOV BH, 00 END Result: Two [...]
Aim: – To write an assembly language program to reverse the given string. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 MOV AX, DATA MOV DS, AX MOV ES, AX MOV CL, 03 LEA SI, A MOV AX, 04 ADD DI, AX L1: MOV AL, [SI] XCHG AL, [DI] [...]
Aim: – To write an assembly language program to find a letter in the given string. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 MOV AX, DATA MOV DS, AX MOV ES, AX MOV BX, 00 MOV CL, 00 LOOK: MOV AL, A[BX] CMP AL, KEY JE L1 INC [...]
Aim: – To write an assembly language program to find the factorial of the given number. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 MOV CL, X DEC CL MOV BX, 00 INC BX MOV A[BX], 01 MOV AL, 00 MOV DL, 01 L1: INC BX ADD AL, DL [...]
Aim: – To write an assembly language program to find the factorial of the given number. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 (1) MOV AL, 01 MOV BL, X LOOK: MUL BL DEC BL JNZ [...]
Aim: – To write an assembly language program to find the length of the given string. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 MOV AX, DATA MOV CS, AX MOV DS, AX MOV BX, 00 MOV CL, 00 LOOP: MOV AL, A[BX] CMP AL, 00 JE L1 INC [...]
This is the one stop educational site for all Electronic and Computer students. If you want to learn something new then we are here to help. We work on Microcontroller projects, Basic Electronics, Digital electronics, Computer projects and also in basic c/c++ programs.
#Home #Sitemap #Resources #Terms of Use
Copyright©2012 electrofriends.com All Rights Reserved
Contact:info@electrofriends.com