answersLogoWhite

0

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

14y ago

What else can I help you with?

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


What is the name of the translator used by Assembly Language?

Assembly language does not use a traditional translator; instead, it uses an assembler to convert its mnemonics into machine code. The assembler translates the assembly instructions into binary code that the computer's CPU can understand and execute.


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.


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


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

In the Central Processing Unit (CPU).