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
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum