Question: Objective: Design a program that uses a menu to access your clues and solve the missing table values MAIN MENU (lab 6-7) Treasure Hunt Clues

 Objective: Design a program that uses a menu to access your

Objective: Design a program that uses a menu to access your clues and solve the missing table values MAIN MENU (lab 6-7) Treasure Hunt Clues Exit program II. SUBMENU/TREASURE HUNT CLUES (lab 6-7) Subtraction But swapping Compare (CMP) two operands and find flag values Return to main menu SUBTRACTION (lab 6-7) - repurpose small portion of original assignment i. CONSOLE INPUT: Enter two integers input 1st integer = 32 Input 2nd integer = 19 ii. Clue #1 rightarrow CONSOLE OUTPUT: Result = Decimal (value) and HEX (value) BIT SWAPPING (lab 2) - repurpose small portion of original assignment i. Take output HEX value result from SUBTRACTION clue and use it as value for this step iii. This HEX letter will be used in your code with an uppercase and lower case version iv. 8-bit value only v. Use BX register vi. Output needs to show values before and after swapping vii. Clue #2 rightarrow CONSOLE OUTPUT: write down value of output of low byte number after swapping 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 same low byte value as 2nd operand Find Flag values for Carry and Zero flags after running above values. Then, fill out the treasure table. Objective: Design a program that uses a menu to access your clues and solve the missing table values MAIN MENU (lab 6-7) Treasure Hunt Clues Exit program II. SUBMENU/TREASURE HUNT CLUES (lab 6-7) Subtraction But swapping Compare (CMP) two operands and find flag values Return to main menu SUBTRACTION (lab 6-7) - repurpose small portion of original assignment i. CONSOLE INPUT: Enter two integers input 1st integer = 32 Input 2nd integer = 19 ii. Clue #1 rightarrow CONSOLE OUTPUT: Result = Decimal (value) and HEX (value) BIT SWAPPING (lab 2) - repurpose small portion of original assignment i. Take output HEX value result from SUBTRACTION clue and use it as value for this step iii. This HEX letter will be used in your code with an uppercase and lower case version iv. 8-bit value only v. Use BX register vi. Output needs to show values before and after swapping vii. Clue #2 rightarrow CONSOLE OUTPUT: write down value of output of low byte number after swapping 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 same low byte value as 2nd operand Find Flag values for Carry and Zero flags after running above values. Then, fill out the treasure table

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!