Question: 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

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_S($248), Port_S_DDR($24A). You must set all of the appropriate registers to make your /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 PORTS 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
