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

Oregano 8051 register R0 and R1 are not direct accessable

HI ,

I wanted to use the oregano 8051 free core and evalaute for using in a design.

wanted to simulate to check for the 8051 instrution set.

I find that Oregano 8051 MCU register R0 and R1 are not direct accessable.

example: MOV R0,#80H does not work.

Is that an issue?

Thanks in advance
Swamy

Parents
  • Hi Andrew,

    I executed the below ASM:

    MOV R7,#10H

    MOV R6,#20H

    MOV R5,#30H

    MOV R4,#40H

    MOV R3,#50H

    MOV R2,#60H

    MOV R1,#70H

    MOV R0,#80H

    MOV P0,#01H

    MOV P1,#02H

    MOV P2,#03H

    MOV P3,#04H

    END

    I verified the register content in the RAM bank. I did check that all the instrctions had valid results except below instructions:

    MOV R1,#70H

    MOV R0,#80H

    Thanks
    Swamy

Reply
  • Hi Andrew,

    I executed the below ASM:

    MOV R7,#10H

    MOV R6,#20H

    MOV R5,#30H

    MOV R4,#40H

    MOV R3,#50H

    MOV R2,#60H

    MOV R1,#70H

    MOV R0,#80H

    MOV P0,#01H

    MOV P1,#02H

    MOV P2,#03H

    MOV P3,#04H

    END

    I verified the register content in the RAM bank. I did check that all the instrctions had valid results except below instructions:

    MOV R1,#70H

    MOV R0,#80H

    Thanks
    Swamy

Children