answersLogoWhite

0


Best Answer

Assembly language programs are the Low level programs. We write Assembly Language program in basically 8085 and 8086 microprocessors.

We can have several registers to do opreations with. Accumulator is one most important Register in a assembly program.

We use several instructions like..

Arithmetic:

INR - Increment Accumulator

ADD B - Add Content of Reg. B with Accumulator

SUB, etc.

Logical:

AND - Bitwise AND

Jump Instriction:

JZ label - Jump to label if ZERO flagged

JC Label - Jump on Carry

Etc..

Example:

MVI B, 06 //Load Register B with the Hex value 06

MOV A, B //Move the value in B to the Accumulator or register A

MVI C, 07 //Load the Register C with the second number 07

ADD C //Add the content of the Accumulator to the Register C

STA 8200 //Store the output at a memory location e.g. 8200

HLT //Stop the program execution

User Avatar

Wiki User

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

Wiki User

14y ago

The processor does not differentiate between an assembly language program, a machine language program, or even a high level program. As far as the processor is concerned, it only knows machine language. All assemblers, compilers, and linkers ultimately generate machine language.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

No, it has to be translated to machine code.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

It has to be translated to machine code beforehand.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

It has to be translated into machine code -- that's what Assemblers do.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How does the assembly language can be executed by CPU?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Role of instruction pointer in 8086?

Its role is to point to the next instruction to be executed in the CPU. It always points to the next instruction to be executed in the CPU


Why assembly level language is called machine dependent language?

Machine languages are composed of instructions intended to be read directly by the microprocessor (the computer's CPU). The manufacturer of the CPU determines it's "INSTRUCTION SET" ASSEMBLY LANGUAGE on the other hand IS NOT machine dependent. The same commands ADD, Divide, Move, etc are universal. HOWEVER the ASSEMBLY LANGUAGE has to have an INTERPRETER for EACH CPU, and that will translate the Universal ASSEMBLY language to the MACHINE SPECIFIC code required to program the CPU.


Is HTML a client side script or server side?

HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.


Where Programs are executed on the basis of a priority number?

In the Central Processing Unit (CPU).


What Programming language is one step above machine language?

I guess you're trying to refer to Assembly language.

Related questions

What is the relationship of assembly language to computer architecture?

Each class of CPU has its own assembly language.


How assembly language communicate with the CPU of any computer devices?

Assembly language code is the lowest-level form of programming before Machine code (binary), and each command in Assembler code directly references binary commands which tell the CPU what to do.


What is called the collection of commands that a specific CPU executes?

machine code instruction set or assembly language


Role of instruction pointer in 8086?

Its role is to point to the next instruction to be executed in the CPU. It always points to the next instruction to be executed in the CPU


Why assembly level language is called machine dependent language?

Machine languages are composed of instructions intended to be read directly by the microprocessor (the computer's CPU). The manufacturer of the CPU determines it's "INSTRUCTION SET" ASSEMBLY LANGUAGE on the other hand IS NOT machine dependent. The same commands ADD, Divide, Move, etc are universal. HOWEVER the ASSEMBLY LANGUAGE has to have an INTERPRETER for EACH CPU, and that will translate the Universal ASSEMBLY language to the MACHINE SPECIFIC code required to program the CPU.


What do you mean by computer Assembly?

This can mean one of two different things depending on context. The obvious one is the physical assembly of a computer, but since you're asking here, I assume you're asking about assembly language. The CPU inside your computer can only understand a limited set of relatively simple instructions. These instructions are represented by numbers, and the CPU knows which number means which instruction. Assembly language is a human readable representation of the instructions that the CPU can understand. Instead of a large number, a short word or acronym called a mnemonic is used. When an assembly program is written, a program called an assembler can translate each mnemonic into the number that represents it. Each mnemonic corresponds to one instruction that the CPU will follow.


How many instructions are executed by 1khz CPU?

A 1kHz CPU will execute 1000 cycles per second.


Is HTML a client side script or server side?

HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.HTML is not a script language. However, HTML is executed on the client side.


How do you program a robot's CPU?

That depends on the CPU of the robotic device; some are programmed in assembly language, some use C, Fourth or other languages, and some use a proprietary language that has been created for the specific purpose of communicating with the manufacturers CPU. In general, low level programming of most CPU's requires a direct connection to the chip or at least to the board. The best advice is to research the manufacturers specifications to determine the appropriate programming technique and language.


How do you write assembly level language program in c?

Unless your particular C implementation allows for direct writing of assembly code, you can't. C is a high-level language and you usually cannot directly issue instructions to the processor. The assembly languages are a set of architecture-specific commands that can be directly executed by a processor.


What computer language uses mnemonic names?

Assembly Language


Why called dot net language?

.NET is the underlying framework of the language. Every language running under .NET is interpreted into ILASM (Intermediate Language Assembly) Which is then compiled into bytecode, then executed in a managed code environment. This complicated process is what allows many language to be coded on top of the platform.