Answer the question
In order to leave comments, you need to log in
YaPs in your OC?
How can I make programming languages work on my operating system?
Suppose I have my own OC written in Assembler. I do not want to implement all the features in assembler, but I want to, let's say in C or C ++ or even in Python.
How to make it possible to write programs in programming languages for my OC?
Answer the question
In order to leave comments, you need to log in
Suppose I have my own OC written in Assembler.
If you had your own OS, there would be no such questions.
You need a compiler that will translate the C syntax into machine code that your OS understands. There are specs, make an implementation on them.
There is a processor, there is a set of its instructions, there is an OS running on it.
C++ programs, for example, are code that translates into commands on the target processor and calls to system functions of the target OS.
From here you can start to think about what your question is about.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question