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

i neede coding in assembly

i want to wrie 100 to the i2c 24c00
then evry time i read it decrase 1 and agaain write to the i2c
for example writ 100
read
decrease 1
and write to i2c

i2c interface with 8051

  • If you provide me with EXACTLY what you want done (a copy of your assignment sheet perhaps), the name and email address of your professor, and US$50 per hour for my time, I'd be happy to do your homework for you.

    Otherwise, you are going to have to be more specific about the problems YOU are having if you would like to get any help here.

    Nate

  • Needs a little refinement, but here's a start:

          mov  a, #100
          mov  dptr, #i2c24c00
    loop:
          movx @dptr,a
          dec  a
          jnz  loop
          ret