0
votes

I read article Build a Super Simple Tasker and I like the idea. It's very simple scheduler, but he has real-time and preemptive multitasking with a single stackit. I like the idea, but when I tried to write this program for a modern microcontroller (ARM Cortex-M), I failed. In book "The Definitive Guide to the ARM Cortex-M3" in chapter "9.2 Exception Exits" is written, that this microcontroller has not different EOI and RETI instructions (or its analogue). In this microcontroller: return interrupt handler == EOI == RETI ?

Someone (expert assembler) can tell me how I can replace the commands RETI and EOI from the article for ARM Cortex-M microcontroller?

1
Read the friendly manual here. I found it with www.google.com. - Lundin
So, uh, literally your first project on an ARM processor is a multi-tasking scheduler? - unwind
@unwind "hello world!" is too 1990-ish - Tommylee2k
I write letter from Miro Samek and hi write anser for me. - Vyacheslav Verkhovin
the cortex-m3 is a cortex-m microcontroller, what microcontroller are you trying to use? - old_timer

1 Answers