Here is the program to find the number of vowel in string written in assembly language. This program display the number of vowels in string and also total number of string without vowel in a clear screen with reverse attributes Assembly Program to Find Vowel in String | 8086 //8086 PROGRAM F8-01A.ASM Program: .MODEL SMALL .STACK 64 .DATA MAXCHAR DB 60; ACTCHAR DB ?; STR DB 60 DUP (?); VOWEL_NO DB 0; NEWLN DB 0DH,0AH,”$”; CHECK STR DB 65, 69, 73, 79, 85, 97, 101, 105, 111, 117; {A, B,…
Read MoreCategory: Microprocessor Program
Conversion of BCD Number to Binary Number in 8085
/*WAP to convert ten BCD numbers stored at 4350H to binary and store the result at 4360H*/ LXI SP,330AH ;initiate stack pointer LXI H,4350H ;pointer to input table of BCD number LXI B,4360H ;pointer to output table of equivalent binary NEXTBYTE: MOV A,M ;get BCD number CALL BCT_BIN ;call BCTB_BIN conversion subroutine STAX B ;store binary number to output table MOV A,L ;copy reg. L to reg. A CPI 59H ;compare it with value 59H JZ HALT ;if it is 59H, then we have processed 10 ;BCD numbers hence jump…
Read More