₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,279 members, 8,421,147 topics. Date: Friday, 05 June 2026 at 08:47 PM

Toggle theme

Assembler, Help Please - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingAssembler, Help Please (253 Views)

1 Reply

Assembler, Help Please by Xianders(op): 10:46am On Nov 05, 2021
In a 20-character feed, count the number of a characters A.
Re: Assembler, Help Please by Bahat: 5:02pm On Nov 05, 2021
Store the character feed into an array or list
Parse through the list with a for loop
Check the condition with if statement
Store each occurrence into a separate list if need
Then check the stored length field.
Or count +=1 to every new occurrence
Output total count as the number of occurrence

Character_feed =[a,a,...]
Count = 0
number_of_occurence = ‘A’

For (data in character_feed). // check to make sure list is not empty
If(number_of_occurence in data)
Count +=1
Else
Move to the next data in list

You can as well remove the else part.
After the operation is done
Output total count number.

This should help
1 Reply

I'm suffering from tutorial hell, I need help please!!?Mysql Help:please I Need Help Transposing Row Into ColumnSoftwares Help Please234

What Services Are Provided By The Inbound Call Center?Download Students Information System Using Visual BasicI Build Affordable Websites