1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

8051 simple program

Discussion in '8051/8951' started by blacksool, Mar 22, 2016.

  1. blacksool

    blacksool New Member

    Joined:
    Mar 22, 2016
    Messages:
    1
    Likes:
    0
    Hello,
    i am beginer with asembler and i need help with my program. I am trying to write program to print arithmetic average of numbers in external memory, last number is 0FFH, numbers are positive and negative 8 bit. Could you help me or send some link for this problem? I have read many tutorials but i could not solve this problem.
    Thank you very much
    Marek
     
  2. Ian Rogers

    Ian Rogers Super Moderator Most Helpful Member

    Joined:
    Mar 28, 2011
    Messages:
    9,148
    Likes:
    907
    Location:
    Rochdale UK
    What have you got so far... There is a wealth of examples using movx.. Movx is the command to access external memory..

    Write a small program trying to do what you want, then I'll help you!
     

Share This Page