Write a program in assembly language using macro.. As it is now 2022, now you are supposed
Question:
Write a program in assembly language using macro..
As it is now 2022, now you are supposed to design a system for an organization that will generate the summary for their employees. You have to calculate their total leaves and according to their grade, system will suggest the annual increment.
You are supposed to ask their basic information first and then store in the array.
Then, ask their leaves for every month from Jan-Dec (2021). You are supposed to apply loop here for taking leaves as input from Jan-dec.
Now, company allows only 24 leaves in the whole year. It means 2 leaves in a month, employee can only avail 2 leaves per month. If employee did more than 4 leaves in a month then will be given B grade, if more then 4 and less than 67 then will be given C grade and if more than 6 and less than 8 then will be given D.
Now, you are supposed to ask reason for every leave user availed in the month, if user did three leaves, then will be supposed to give three reasons.
Now, calculate the total leaves user did in the whole year.
Calculate total deduction user had to face ion the whole year.
And suggest the increment on the bases of grade of every month
Digital Systems Design Using Verilog
ISBN: 978-1285051079
1st edition
Authors: Charles Roth, Lizy K. John, Byeong Kil Lee