answersLogoWhite

0


Best Answer

The main strength is that it gives complete control over the machine at the lowest possible level. The main weakness is that everything must be encoded in terms the machine can understand. For instance, the otherwise simple operation of x = y + z requires that we move the values stored at the addresses identified by y and z into the appropriate CPU user registers, then invoke the appropriate ADD instruction, then move the accumulator register value into the address identified by x. That's a lot of work for an otherwise simple operation.

User Avatar

Wiki User

7y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

An assembly language has faster execution than its object-oriented counterparts. Also, there is no need for compilation, just linking (assembly languages were the precursors to compilers).

Assembly language is low level English better suited to continuously running the same small process over and over again. It only has a small alphabet and is, hypothetically, easier to manage than OOP. Is high level English and Compiles introduces uncertainty about the time cost of operations. In Assembly one has tight control over the instructions that are executed. Reducing the size of program means fewer memory chips are needed, reducing cost.

This answer is:
User Avatar

User Avatar

Wiki User

6y ago

Extremely low-level symbolic language. The only thing lower than assembly is machine code, where all code is written in binary (typically using a hex editor). Assembly lifts the level of abstraction beyond hexadecimal, replacing machine operation codes (opcodes) and CPU registers with easy-to-remember mnemonics, usually 3 or 4 characters in length (such as MOV for a move operation, and ADD or SUB for arithmetic addition and subtraction). Operands (whether memory addresses or literal values) can be notated using decimal, hexadecimal, octal or binary notation.

Translation from assembly to machine code can be easily implemented in software. For example, the MOV operation typically has at least three variants: moving a value from main memory to a register, from one register to another register, and from a register back to main memory. The translator simply refers to the operand types to determine which specific binary opcode to generate.

Assembly and disassembly are very closely related. Disassembly is essentially the assembly language interpretation of machine code (a type of reverse engineering). However, assemblers don't read user-comments (comments exist purely to assist the code maintainer, not the machine) and variable names are replaced with memory offsets. Thus the resulting disassembly can be difficult for a human to interpret properly without access to the assembly source. However, if you have the source, you don't need to disassemble the machine code.

This answer is:
User Avatar

User Avatar

Wiki User

15y ago

Assembly is slow and complex to write, but extremely quick to execute.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the advantages of using an assembly programming language in comparison to using an Object Oriented programming language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is java an assembly language?

No. Java is a high level language also known as object oriented programming


What are examples of Object Oriented programming language?

Machine code, assembly language and C are all non-object oriented programming languages. Fortran, COBOL, Pascal and BASIC were originally non-object oriented languages but there are now object-oriented variants of these languages. C++, C# and Java were all designed with object-oriented programming in mind from the outset.


Why is java language better than assembly language?

Beacuase Java's Concept is OOP object oriented programming and with grate feature include better then assembly lang.


Assembly level programming?

Yes.


Programming language for assemblers?

Is called Assembly.


Elements of assembly language programming What is A simple assembly scheme pass structure of assembler design of two pass assemblers a single pass assemblers what is macros?

what are the elements of assembly language programming?


How c plus plus is a procedure based language?

C is both. The characteristics of a procedural oriented language: assignment operators (:= in C) The characteristics of a structured programming language: block of codes ({} in C) for if-else, while-, for- loops, subroutines, etc.


Why java is called purely object oriented language?

Java is called a "pure" object-oriented language because it requires that all code written in it be wrapped in objects. This differs from the more common meaning of "pure" object-oriented (everything is an object) in that Java has primitive types and primitive operations on them - int, char, double, float, long and addition, subtraction, multiplication, division. A real example of a PURE object-oriented language is Smalltalk, one of Java's predecessors.


Is procedural oriented language ane platform oriented language same?

No. They are sort of like comparing apples and oranges. Procedural programming languages are coded and executed in step-by-step fashion, while platform oriented language (I can only think of Assembly or Machine code Instruction, Object-C maybe) is created for a certain platform (Palm, iPhone, Android, Mac, Windows, may be abstract like the world wide web!!) A platform oriented language may not be procedural. It may not be imperative. It could be functional or object oriented


What are the drawbacks of assembly level language?

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.


What programming languages are operating systems written in?

C and Assembly.


What are the example of low-level programming language?

It are machine code and Assembly.