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

WHAT IS WRONG

I HAVE THIS CODE AND NEED TO SAY WHAT IS WRONG

HELP ME PLZ

LD R0,#>RAMSAVE LD R1,#<RAMSAVE LDE R2,@RR0 LD SV0_RAM,R2 INCW RR0 LDE R2,@RR0 LD SV1_RAM,R2 INCW RR0 LDE R2,@RR0 LD TX_RAM,R2 JP LL9

Parents
  • I still think the code is Zilog Z8.

    One thing's for sure - It is certainly not native 8051.

    Someone might have gone crazy with some macros to make 8051 code look like something else; but it's pretty unlikely.

    It's a fair bet that the code you gave does not add numbers.

    What I think it does is copy a pointer from RAMSAVE to SVx_RAM.

    What sort of project is this?

Reply
  • I still think the code is Zilog Z8.

    One thing's for sure - It is certainly not native 8051.

    Someone might have gone crazy with some macros to make 8051 code look like something else; but it's pretty unlikely.

    It's a fair bet that the code you gave does not add numbers.

    What I think it does is copy a pointer from RAMSAVE to SVx_RAM.

    What sort of project is this?

Children