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

RSET CODE:CODE

Environment uVision4, Windows 7, 64 bit. RTOS is uC/OS-iii. Assembly language.
A file named cpu_a.asm is copied in from an IAR environment. Some critical lines are:

PUBLIC CPU_IntDis
...
RSEG CODE:CODE:NOROOT(2)
...
CPU_IntDis

For the first I think PUBLIC should change to EXPORT:
EXPORT CPU_IntDis
Is this correct?

For the second the error is:
error: A1163E: Unknown opcode RSEG , expecting opcode or Macro

I can find some things about RSEG but cannot determine what is intended by the entire line. How must this line be changed?

For the third the error is:
error: A1355U: A Label was found which was in no AREA

I have not discovered the full significance of this error. How should this be changed?

0