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

8051 disassembly

Hello! in Keil,when i write *(unsigned char*)R1=0x30;
in lst file, Keil use R0. I want R0 don't change or
I want Keil use R1 no R0. Can who help me?

Parents
  • Your first task is to decide if you want to program in C or in assembler. If you think that specific processor register usage is important, then it's time to drop C and write directly in assembler.

    C is for people who wants to solve a problem.
    Assembler is for people who thinks it's important to use specific registers when solving the problem.

Reply
  • Your first task is to decide if you want to program in C or in assembler. If you think that specific processor register usage is important, then it's time to drop C and write directly in assembler.

    C is for people who wants to solve a problem.
    Assembler is for people who thinks it's important to use specific registers when solving the problem.

Children