Am 18.02.21 um 16:32 schrieb Royce Pereira (T-star Instrumentation):
> 
> Its curious why the "PD_ODR |= 1<<1" produced the "ld a ...." in the 1st
> example, 
> while just the 'bset ...' in the second, when both cases were absolute
> addresses.

Probably a difference in how things are represented in iCode.
You might want to try one or more of the following options to get some
more insight from the generated asm into what the stm8 backend in SDCC does:

--fverbose-asm
--i-code-in-asm
--no-peep

Philipp


_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to