diff --git a/ports/stm8/README-SDCC b/ports/stm8/README-SDCC index e69de29..54c29ac 100644 --- a/ports/stm8/README-SDCC +++ b/ports/stm8/README-SDCC @@ -0,0 +1,18 @@ +--------------------------------------------------------------------------- + +STM8 PORT - SMALL DEVICE C COMPILER + +--------------------------------------------------------------------------- + +PREREQUISITES + + * SDCC + * Programming software (e.g. stm8flash) + +--------------------------------------------------------------------------- + +BUILD VIA MAKEFILE + + * make -f sdcc.mak + + diff --git a/ports/stm8/atomport-asm-sdcc.s b/ports/stm8/atomport-asm-sdcc.s index f9ac162..62bb9fa 100644 --- a/ports/stm8/atomport-asm-sdcc.s +++ b/ports/stm8/atomport-asm-sdcc.s @@ -1,3 +1,5 @@ +.area CODE + ; uint8_t get_cc(void); _get_cc:: push cc