The assembly language does not support object oriented program
so they change to c and c++ the c++ will support object oriented program
this are the demerits of assembly language.
Chat with our AI personalities
assembly language is specific to a particular machine architecture. assembly languages are designed for specific make and model of a microprocessor. it mean that assembly language program written for one processor will not work on a different processor if it is architecturally different. that is why the assembly language program is not portable.
Its analogous to asking a question, what are the drawbacks of being ape?
Programming languages has evolved from machine codes, assembly etc to High level languages to make programming easier for humans. Writting assembly programs for smaller work can grow to many more pages and again, if it is to be debugged, its terrible.
So to avoid all these, high level language can be used, where compilers take care to handle assembly language drawbacks.
Some disadvantages of assembly language include being hard to read and has no symbolic names for memory locations. All codes must also be heavily documented and it is also difficult to debug.
Programs written in a high level language might be slower than ones written in Assembly language; but it is not always so, it is very easy to write un-effective programs in Assembly.
It are machine code and Assembly.
An assembly program is a machine-dependent program written in a low-level symbolic code known as assembly language.
A High level language is a language like C, Pascal, Fortran. To convert, the easiest way is to use a compiler. A compiler will take the instructions written in a high level language and convert them into machine code which is the specific instruction set for that type of computer. Assembly language is just a human readable form of a machine code which is how the designers of the computer instruction set made it work. A disassembler will show the assembly language from machine code. But the compiler usually includes a lot of optimisations from a the high level language and will not often generate very simple assembly.
Assembly language was created in the 50's so that way programmers didn't have to program directly in machine code, which required looking up numerous instruction codes in a huge manual. Nowadays, most people don't program in assembly language, or any other low-level language for that matter. We use a high-level language, such as C++ or Java. However, people will program in assembly if optimization is required that a high-level language doesn't support.