0
716views
8051 Programming(Part 1)
1 Answer
0
5views

Assembly Language:

An assembly language is a low level language for a computer microcontroller and other programmable device,in which each statement corresponds to a single machine code instruction.Each assembly language is specific to particular computer architecture in contrast to most high level programming languages, which is actually portable across multiple system.

An assembler create object code by translating assembling instruction mnemonics into opcodes and and by resolving symbolic names for memory location and other entities

Assembly language uses a mnemonic to represent each low level machine operation or opcode .Some opcodes need one or more operand as part of the instruction ,and most assembler can take levels and symbols as operands to represent addresses and constants instead of hard coding them into the program.

A program written in assembly language consists of a series of processor instruction and meta statements (knows variously as directives) comments and data.Assembly language instructions usually consists of an opcode mnemonics followed by a list of data arguments or parameters.These are translated by an assembler into machine language instructions that can be loaded into memory and executed .

Syntax

  • Level : mnemonic operands : comments:

Example: mov destination source ; copy source to destination

  • The instruction tells the cpu to move or copy the source operand to the destination operand.Registers are used to store information temporarily,while the information could be
Please log in to add an answer.