Hmmm... this is very counterintuitive, and I'm wondering the reasoning. I naively thought that for any testing (regression & otherwise), we only need to enable the simulator for the targets we intent to compile for. I don't get why we need to be able to emulate, for example, stm8 if stm8 compilation is disabled. What did I miss ?
of course. If not the default, function forward declarations is needed, but only if not default. the default being "no __reg()" annotation exists (I updated my comment to be crystal clear). It is the same as the __using() annotation, or did I miss something?
of course. If not the default, function forward declarations is needed, but only if not default. the default being "no __reg()" annotation exists (I updated my comment to be crystal clear) Or did I miss something?
What does "flexible calling convention in the compiler" mean ? Not saying practical, but would it be doable to have a fully flexible calling convention ? something akin to __reg(a) char my_add( __reg(a) char first, __reg(r0) char second) { return first + second; } which would obviously generate: _my_add: ADDC A, R0 RET The default being : char my_add(char first, char second) { return first + second; } which is understood by the compiler as __reg(dpl) char my_add(__reg(dpl) char first, __reg(dph)...
of course. If not the default, function forward declarations is needed, but only if not default. the default being "no __reg()" annotation exists. Or did I miss something?
of course. If not the default, function forward declarations is needed, but only if not default. Or did I miss something?
What does "flexible calling convention in the compiler" mean ? Not saying practical, but would it be doable to have a fully flexible calling convention ? something akin to __reg(a) char my_add( __reg(a) char first, __reg(r0) char second) { return first + second; } which would obviously generate: _my_add: ADDC A, R0 RET The default being : __reg(dpl) char my_add(__reg(dpl) char first, __reg(dph) char second) { return first + second; } Having the developer that chooses the appropriate registry, and...
Support gcc style inline asm for register assignment