HELP: ASSEMBLY CODE that will perform ADD function given the ff. conditions

Discussion in 'Programmer's Corner' started by miles chan, Apr 6, 2015.

  1. miles chan

    Thread Starter New Member

    Apr 6, 2015
    6
    0
    Create an assembly code that will perform ADD function given the ff. conditions. Draw the schematic diagram of the circuit. Output the answer in decimal using seven segment display common cathode. Use R6 to R0 as the data pins for the seven segment. RC6 = g, RC5=f, RC4=e, RC3=d, RC2=c, RC1=b, RC0=a. Use PIC16F877a




    [​IMG]
     
    Last edited: Apr 6, 2015
  2. joeyd999

    AAC Fanatic!

    Jun 6, 2011
    2,673
    2,712
    We will not do your homework for you.
     
  3. miles chan

    Thread Starter New Member

    Apr 6, 2015
    6
    0
    Can someone just teach me pls.. Been looking online for similar examples but I can't find any.. This is not a homework.. Just a sample problem that was given by my prof..
     
  4. miles chan

    Thread Starter New Member

    Apr 6, 2015
    6
    0
    Can someone just teach me pls.. Been looking online for similar examples but I can't find any.. This is not a homework.. Just a sample problem that was given by my prof..
     
  5. joeyd999

    AAC Fanatic!

    Jun 6, 2011
    2,673
    2,712
    Take it step by step. Have you drawn a schematic diagram yet?
     
  6. miles chan

    Thread Starter New Member

    Apr 6, 2015
    6
    0
    not yet..
     
  7. joeyd999

    AAC Fanatic!

    Jun 6, 2011
    2,673
    2,712
    OK, then. Get back to us when you've done some work.

    Good luck.
     
    blueroomelectronics likes this.
Loading...