Re: [Sdcc-user] Perplexed by varying STM8 assembly formatting

2020-12-11 Thread Philipp Klaus Krause
> > I can't track down or figure out what is making SDCC use different > formatting. Why is this occurring? --fverbose-asm can be helpful to find out, you might also want to check, if the difference is due to application of a previous peephole (--fverbose-asm will mention so, --no-peep can disa

[Sdcc-user] Perplexed by varying STM8 assembly formatting

2020-12-11 Thread Basil Hussain
Hi all, I have been attempting to write some custom STM8 peephole optimiser rules, but have run up against a perplexing issue. For what are ostensibly the same operations in C code, I have seen differently-formatted assembly code being emitted by SDCC, and I can't figure out why. An example

Re: [Sdcc-user] RAM program

2020-12-11 Thread Georg Icking-Konert
Hi Eric, having thought this over, I see pros and cons for both options. Therefore I have just started a discussion under https://github.com/gicking/stm8-bootloader-erase-write/discussions to collect arguments. Georg Am 08.12.20 um 08:58 schrieb Eric Rullens: Hi Georg, Yes, that is exact