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

keil and assenmbly command

Hi, All:

I have a piece of old assembly code using a specific command SFE which is used to obtain code end address.

RSEG CODE
MOV	DPTR, #SFE CODE

Keil uvision2 said SEGMENT SYMBOL EXPECT in line 1 and SYNTAX ERROR in line 2.

Does anyone has ideas about these codes? Is CODE a specific keyword in Keil?

Thanks!

Parents
  • Thanks a lot for your reply.

    I can not find AFIK in the manual, could you give me a little bit more information about how to use AFIK. Actually my code is going to perform the PROM test and hope this piece of code could obtain the overall code end address.

    It looks "CODE" is reserved keyword in Keil and I need to use another name for that segment, right?

    Thanks again.

Reply
  • Thanks a lot for your reply.

    I can not find AFIK in the manual, could you give me a little bit more information about how to use AFIK. Actually my code is going to perform the PROM test and hope this piece of code could obtain the overall code end address.

    It looks "CODE" is reserved keyword in Keil and I need to use another name for that segment, right?

    Thanks again.

Children