| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
| |
Stack pointer setup is removed since it is already set to 0x3FF
for the STM8S003F3/K3, according to the datasheet.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
GNU as does not support the #</#> notation asxxx uses to determine
address LSB and MSB. Instead, two instructions have been created on
GNU as and ld (see my stm8-binutils-gdb fork) for this purpose.
On the other hand, I'm upset to see gen.c does not provide an
assembler-agnostic implementation when SDCCasm.c already provides
tools already meant for this.
OTOH, support for the "-C" has been added for --gas.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
STM8 code generator was generating some instructions in a
"ld register, (#%d, register)" way, causing assembling errors on
stm8-as. This is because stm8-as does not require the '#' character.
A quick and dirty workaround has been implemented for this.
Added new warning W_IGNORED_OPT_IN_ASM, which warns the user when
both "--no-optsdcc-in-asm" and "--gas" are used (the first is ignored
when the latter is active since GNU as does not accept the .optsdcc
directive, as opposed to asxxx).
|
| |
|
|
|
|
| |
stm8/main.c: 0x8000 must contain the entry point aka "_start" for GNU as.
Some work on supporting debugging symbols with --gas. Not finished yet.
|
| |
|
|
|
|
|
| |
Interrupt vector must be placed on section .vectors, according to
the default linker script file.
Intermediate labels must be $-terminated so they are not listed by nm.
|
|
|
This fork aims to provide better support for stm8-binutils
|