Question: 3. a) Write the code to make bits 0-3 of Port B outputs and bits 4-7 inputs in each of the following ways (PORTA is
3. a) Write the code to make bits 0-3 of Port B outputs and bits 4-7 inputs in each of the following ways (PORTA is at address $00 and DDRA is at $02, or you can use the names): (10 points) i. using only load and store instructions: ii. using only movb instructions: iii. using only bclr and bset instructions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
