Operating system

Hi guys can you please clarify my below doubts,
1. Do I need to know assembly language to build operating system.
2. If I write OS for X86 then can I port it to ARM ? because some assembly code get change from X86 to ARM.
3. Is it possible to build OS for microcontrollers.

Can anybody please let me know how to build OS of my own
Last edited on
I had some links to this stuff, this is the only one that still works.
http://wiki.osdev.org/C%2B%2B_Bare_Bones
You will need to know some assembly to build an OS. You will need to talk to the hardware, and C or C++ cannot always do this for you. You'll need to set up a stack before you can even use C or C++. And often you'll need to modify registers, all features only found in assembly.

To answer your second question. It is possible to port the code, the complexity depends on what instructions you use. And most microcontrollers have something controlling them, you could call this an OS. I hope this answers your questions.
Last edited on
Topic archived. No new replies allowed.