Question: Quiz 2 Name: Create a variable named ADDER. Store the value $32 into the variable ADDER. Create a program that reads a value from the

Quiz 2 Name: Create a variable named ADDER. Store the value $32 into the variable ADDER. Create a program that reads a value from the dip switches at Port_T($240) Port_T_DDR($242). Add your Variable to the value read from Port T. The result should be written to the LEDs at Port_$($248), Port_$_DDR($24A). You must set all of the appropriate registers to make your I/O ports function appropriately. Declare (define) all used ports and data direction registers. By doing this there should be only titles for addresses in the My_Code section. Example: Idd PORT_S DO NOT Idd $248 My_Variable: section My_Constant: section My_code: section Entry
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
