cancel
Showing results for 
Search instead for 
Did you mean: 

STM8 assembler directives reference

CustomSarge
Associate III

Hi, I have look Extensively THREE different times now to find an assembler reference.  NOT the instruction set, the assembler directives.  Data types declared, conditional assembly (if avail), Everything the Assembler uses to generate machine code. IF there IS one, ST hid it Very Well!  Very frustrating!  TNX  <<<)))

1 ACCEPTED SOLUTION

Accepted Solutions
CustomSarge
Associate III

I FOUND IT!!!  Through an Obscure reference, it's UM0144  !! How I never saw it in ST --- I DON'T CARE, Got It Now!!  Thanks for the help!  If I was 30+ younger, I'd be into 32 bit, WAY too old to change now. I don't begrudge the advances of tech, it's inevitable.  Besides, if 8 bit was passe, they wouldn't waste wafer space on them!

View solution in original post

3 REPLIES 3
Peter BENSCH
ST Employee

STMicroelectronics has not hidden any information about assembler directives, data types etc, but has left it to the assembler manufacturers to define this for their products. You would have to ask your assembler manufacturer about this.

But perhaps it really is time to say goodbye to the somewhat dusty world of 8-bit MCUs and enter the world of the STM32? These 32bitters can also be programmed with assembler, but you quickly learn to appreciate the highly optimised C compiler. Decades ago, I was also a convinced assembler programmer and imagined that I could program highly efficiently - until I examined the binary of a program optimised by an early compiler. It took me a few days to understand the contortions and detours, all of which resulted in highly efficient code. Since then I only write assembler code for small routines and for demo purposes.

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
CustomSarge
Associate III

I FOUND IT!!!  Through an Obscure reference, it's UM0144  !! How I never saw it in ST --- I DON'T CARE, Got It Now!!  Thanks for the help!  If I was 30+ younger, I'd be into 32 bit, WAY too old to change now. I don't begrudge the advances of tech, it's inevitable.  Besides, if 8 bit was passe, they wouldn't waste wafer space on them!

Peter BENSCH
ST Employee

Besides, if 8 bit was passe, they wouldn't waste wafer space on them!

It's not a subjunctive, you can recognise it by the fact that there has been no further development of 8-bitters for a long time, neither in chips nor in software. However, there are still ongoing projects that continue to use these chips, which is why it is not a waste of wafer space to continue producing them.

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.