Menu

Write The Code Assembler Code To Make Bits 0 3 Of Port B Outputs And Bits 4 7 In

Write the code (Assembler 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):

i.     using only load and store instructions:

ii.    using only movb instructions:

iii.  using only bclr and bset instructions:

Leave a Reply

Your email address will not be published. Required fields are marked *