Design a C++ program that uses a menu to access and solve the missing tables values.
You're going on a treasure hunt to find the flag(s)! Design a program that uses a menu to access your clues and solve the missing table values object PROGRAM FEATURES MAIN MENU (lab 6-7) 1. Treasure Hunt Clues 2. Exit program II. SUBMENU/Treasure Hunt clues (lab 6-7) 1. Subtraction 2. Bit swapping 3. Compare (CAMP) two operands and find flag values 4. Return to main menu 1) SUBTRACTION (lab 6-7)- repurpose small portion of original assignment i. CONSOLE INPUT: Enter two integers Input 1st integer 32 e il. clue a1 Input 2nd integer 19 Decimal (value) HEx (value) CONSOLEOUTPUT: Result and BIT swAPPING (lab 2) small portion of original assignment as value for this step i. Take output HEx repurpose use it value result from suBTRACTION clue and 2) ii. This output HEX value will be a letter letter will be used in your code with an uppercase and lower case version iii. This HEx iv. 8-bit value only v. Use BX register vi, output needs to show values before and after swapping vii clue w2 coNsoLE ouTPUT: rite down value of output of low byte number after swapping 3) COMPARE (lab 5) repurpose original assignment i. CONSOLE INPUT: Enter two integers ii. Use low byte value obtained from BIT SWAPPING clue output 2-digit number iii. Use first number of this 2-digit number as 1st operand and second number of samelow byte value as 2nd operand 4) Find Flag values for Carry and Zero flags after running above values. Then, fill out the treasure table. TREASURE TABLE Carry Flag Operand 2 Zero Flag Operand 1 You're going on a treasure hunt to find the flag(s)! Design a program that uses a menu to access your clues and solve the missing table values object PROGRAM FEATURES MAIN MENU (lab 6-7) 1. Treasure Hunt Clues 2. Exit program II. SUBMENU/Treasure Hunt clues (lab 6-7) 1. Subtraction 2. Bit swapping 3. Compare (CAMP) two operands and find flag values 4. Return to main menu 1) SUBTRACTION (lab 6-7)- repurpose small portion of original assignment i. CONSOLE INPUT: Enter two integers Input 1st integer 32 e il. clue a1 Input 2nd integer 19 Decimal (value) HEx (value) CONSOLEOUTPUT: Result and BIT swAPPING (lab 2) small portion of original assignment as value for this step i. Take output HEx repurpose use it value result from suBTRACTION clue and 2) ii. This output HEX value will be a letter letter will be used in your code with an uppercase and lower case version iii. This HEx iv. 8-bit value only v. Use BX register vi, output needs to show values before and after swapping vii clue w2 coNsoLE ouTPUT: rite down value of output of low byte number after swapping 3) COMPARE (lab 5) repurpose original assignment i. CONSOLE INPUT: Enter two integers ii. Use low byte value obtained from BIT SWAPPING clue output 2-digit number iii. Use first number of this 2-digit number as 1st operand and second number of samelow byte value as 2nd operand 4) Find Flag values for Carry and Zero flags after running above values. Then, fill out the treasure table. TREASURE TABLE Carry Flag Operand 2 Zero Flag Operand 1