please do this in assembly language for x86 using c++
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question

Transcribed Image Text:please do this in assembly language for x86 using c++
thank you!!
I will rate you up if you do it right!
Problem 6:
The exclusive Sweet Potato Pie Society is planning g its annual Harvest Dinner.
There will be 3 tables; one will be headed by the Society president, one by the
Society treasurer, and one by the Society secretary.
Mary Marchmount, president, wants to honor those members who give the most
money and effort to the Society. She wants those members who give the most
money in dues AND who have served as an officer in the past to sit at the head
table with her.
There are 15 members. On all the Society's lists of members, the member
number is the place on the list, and the member numbers start at zero. So the
third member on the list is member 2.
One list of members shows the membership level which is in the range of 1,2,3,4
with 4 being the highest level and require the largest dues payment
MemberLvl 1,3,3,4,2.4.0.1.4.2.1.4.2.2.3
Another list shows whether the member has ever been an officer and which was
the last or current position held. Secretary is denoted by 1; treasurer is denoted
by 2; president denoted by 3. The members currently holding office are denoted
by adding 10 to the officer number. Therefore President Marchmount's entry is
13.
OfficerLst 0,13,0,0,2,12,0,1,0,3,2,1,110,1
Using assembly, find from these 2 lists Society members who have both level 4
membership and have been at some time an officer, but who are not now
officers.
Display all the member numbers of the people who fit this criteria. You my use C
for the data declaratioins and the output.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education