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

MOV RO

As a part of an "In application programming" I am using the following assembler code:

#pragma asm
MOV R0,#14 //OSC frec
MOV R1,#02H //PROGRAM DATA BYTE
#pragma endasm

I can't find the way of writing those two assembler lines in C, could anybody help me? Thanks, Juan

Parents
  • "I can't find the way of writing those two assembler lines in C"

    So don't do it, then!

    There's no point in struggling to write in 'C' just for the sake of it!

    This is definitely one of those areas where you're better off in assembler.

Reply
  • "I can't find the way of writing those two assembler lines in C"

    So don't do it, then!

    There's no point in struggling to write in 'C' just for the sake of it!

    This is definitely one of those areas where you're better off in assembler.

Children
No data