Skip to main content
raghavendra2
Associate II
October 20, 2009
Question

Instruction set of STM8S207K

  • October 20, 2009
  • 9 replies
  • 2459 views
Posted on October 20, 2009 at 07:41

Instruction set of STM8S207K

    This topic has been closed for replies.

    9 replies

    mozra27
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:03

    Hi,

    The instruction set are common for all the product family, please refer to the ''STM8 CPU programming manual� document, you can find bellow the link:

    http://www.st.com/stonline/products/literature/pm/13590.pdf

    Regards

    mozra

    raghavendra2
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 15:03

    Hi, Please let me know where can I find instruction set for STM8S207K6.

    It is not present in the attached file

    Thanks

    mozra27
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:03

    you can start using the STM8S firmware library available in this link:

    http://www.st.com/mcu/modules.php?name=mcu&file=familiesdocs&FAM=113

    Regards

    mozra

    mgdaubo
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:03

    Hi, i'm newbie ^^

    I'm using STVD, through ''help'' menu, i can't find any C instruction, function...

    I'm looking for C instructions, functions, variant definition... can any body help me.

    Thanks.

    raghavendra2
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 15:03

    Thank you very much...

    rgds,

    Raghavendra

    mgdaubo
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:03

    Thanks Luca.

    So i think that in STVD,there is no function or library to be build-in. All the operation must be made by ourself. However, it's OK ^^

    Thanks for your help ^^

    luca239955_st
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 15:03

    Hello,

    for the C language itself, there are various text books that are independent of the micro you have chosen; look on any search engine and you will find plenty of information.

    For the STM8 in particular, for example to know the size of an INT (by the way, it is 2 bytes), it dependends on which compiler you are using. Download any of the 2 available, the user manual is inside the package.

    Hope it helps.

    Luca (Cosmic)

    mgdaubo
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:03

    Thank you, Mozra27 ^^

    I already get all documents on that link, but still can not find any instruction about C language. For example, i want to know in STVD, an integer variant is 2bytes or 4bytes... and some function avaiable...

    Where can i get that help?

    tomas23
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:03

    Hi, STVD is editor and debugger, what would you expect from it concerning C? Btw. once the program is linked, you have access to lot of standard C functions from stdlib.h, string.h etc....

    I'd recommend you to check the documentation to your compiler, not the editor, that's completely separate SW.