+ 1

Coding in x86 asm

I want to create my own os And i want to try It in x86 asm but first i need to learn x86 asm does anybody know where to go to learn It

19th Sep 2024, 9:25 AM
Kuhgg Ggxjk
4 Antworten
+ 1
Nobody builds operating system using ASM anymore. You write it in C or C++. Linux was written in C. If you are going to write your own OS, consider starting by studying the Linux source code. Coding your own OS in ASM is a little like saying, I want to build my own car and I want to smelt my own iron. It can be done, but it doesn't make sense.
19th Sep 2024, 1:39 PM
Jerry Hobby
Jerry Hobby - avatar
0
I agree with Jerry Hobby. The C compiler can optimize the assembler code better than a human, almost always! Studying assembler output from the C compiler is a good way to learn ASM.
19th Sep 2024, 5:21 PM
Brian
Brian - avatar
0
Why do you want to solve both these _complex_ tasks (creating an OS and learning asm) in a single go, provided that you have no knowledge in either of these fields? I understand, it could be a cool project and you'll learn a lot in the end, but you _really_ need to assess your capabilities before diving into it. Maybe is better to start learning asm (x86 version as you like, because there are tons of different assemblers in the world) on some simple projects and then turn to writing as OS?
25th Sep 2024, 11:10 AM
Евгений
Евгений - avatar