By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!Why not? The entire PCDOS was written in assembly. So was CP/M, ISIS, SOLOS, TRSDOS, the Mac OS, the Apple OS ... whole entire operating systems. Windows and Linux could be written entirely in assembly, it's just more efficient to write graphic operating systems in a higher level language. (All of CP/M was around 4k of 8 bit code.)reloader81 said:Th other side, that it's a very complicate and hard-to-learned language, but don't try to write i.e. a whole kernel in HLPL.
I dare you to write an OS that boots, in C. The bootstrapper must be written in ASM. Usually speed intenstive parts of the kernel too. The non-intensive areas are written in C - some in C++.nemaroller said:You could fill the all the currently employed assembly OS developers in the world onto 1 -maybe 2 - Boeing 757's. The rest use C.
Raedwulf said:But all in all - knowledge of assembly is essential for any HLL - as it helps optimise code and create decisions in efficiency.
Side note: I often see people use the word "assembler" to refer to the language - "assembler" refers to the the tool which converts assembly language into machine code.
Hello World. Intel? Probably 32k, at the very least, until we get to Vista. PIC? Depending on the display, maybe 20-30 bytes. Slight difference.wossname said:Intel ASM is a joy to use because it has a lot of registers and HUGE amounts of ram on modern machines. PIC asm is a joy because the instruction set is small and there is a great challenge in getting your code small and fast enough to run on a PIC.