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

debugging

I could write the program which utilizes indirect addressing. However while dbugging it does not appear in memory window. I want to preload the values of indirect locations so that I can debug the program.
Pleas advice how to do so.

Parents
  • I am able to write a program of indirect addressing now. It is as under.
    MOV A,#55H
    MOV R0,#80H
    MOV @R0,A
    MOV A,#00H
    MOV A,@R0
    A = 55H now in register window.

    Now in MEMORY WINDOW of debugger I am unable to see this happening. I want to fill the value in locations 80h to 90h by command E C <location> <data> and get back those values in A by just incrementing R0 and giving MOV A,@R0 command.

Reply
  • I am able to write a program of indirect addressing now. It is as under.
    MOV A,#55H
    MOV R0,#80H
    MOV @R0,A
    MOV A,#00H
    MOV A,@R0
    A = 55H now in register window.

    Now in MEMORY WINDOW of debugger I am unable to see this happening. I want to fill the value in locations 80h to 90h by command E C <location> <data> and get back those values in A by just incrementing R0 and giving MOV A,@R0 command.

Children
No data