flat assembler
Message board for the users of flat assembler.
Index
> Non-x86 architectures > STM8 + fasmg |
Author |
|
shoorick 28 Jul 2017, 10:30
Here you have something to deal with STM8 MCUs.
They have weird but powerfull CISC command set, nice hardware and are pretty cheap. If you are not a great solderer, you may buy mini-board with CPU and with or without soldered pins, etc. The board I've bought has reset button and led attached to PB5 pin, so, I had to solder only four pins to connect the board to usb programmer (ST-Link) to try. STM8 can run program in RAM, and ST visual programmer can launch it without touching the FLASH memory, so, in attached example you may found a program which may blink the LED on PB5 pin from RAM. Also there is a batch to convert stm8 headers into fasmg includes - you need sed installed to use it. I'm new to this architecture, so, all offsets are restricted to be positive, and I'm not sure about MOV mem,mem: which is "mem1" and which is "mem2", I supposed the first offset after opcode is source, and the last is destination - must check it Also, I have not check its behavior well on bad syntaxis... So, bugfixes are welcome
_________________ UNICODE forever! |
|||||||||||
28 Jul 2017, 10:30 |
|
Tomasz Grysztar 28 Jul 2017, 15:21
Thank you for your continued exploration of new architectures with fasmg! I have added it to the list.
|
|||
28 Jul 2017, 15:21 |
|
shoorick 28 Jul 2017, 17:44
I'm glad to contribute such great assembler!
|
|||
28 Jul 2017, 17:44 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.