This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

doubt in addressing mode..

Why do we use only R0 & R1 in case of Indirect Addressing mode and why not any other GP registers? Can we use R0 & R1 of any bank or only Bank 0?

Parents
  • I found two routines from different books to start working with an LCD. The first one (at LCD.asm) works on PROTEUS but not physically. The second one (at LCD3.asm) works nowhere but is supposed to. Can anyone help me fix the routines I've got or give me one in assembly language that actually works?

    1-Vss (GND)
    2-Vdd (5V)
    3-Vss (GND)
    4-RB6
    5-Vss (GND)
    6-RB5
    7 to 14 - RB0 to RB7

Reply
  • I found two routines from different books to start working with an LCD. The first one (at LCD.asm) works on PROTEUS but not physically. The second one (at LCD3.asm) works nowhere but is supposed to. Can anyone help me fix the routines I've got or give me one in assembly language that actually works?

    1-Vss (GND)
    2-Vdd (5V)
    3-Vss (GND)
    4-RB6
    5-Vss (GND)
    6-RB5
    7 to 14 - RB0 to RB7

Children