Label-assemblers directive-microprocessor, Assembly Language

LABEL : 

The Label directive which is used to assign a name to the current content of the location counter. At the beginning of the assembly process, the assembler start a location counter to keep track of memory locations assigned to the program. As the program assembly proceeds, the specific contents of location counter are updated. At the time the assembly process, whenever the assembler across the LABEL directive, itassigns the declared label with the current contents of the location counter. The type of the label ought to be specified, for example whether it is a NEAR or a FAR label, WORD or BYTE label, etc.

A LABEL directive can be used to make a FAR jump as shown. A FAR jump can't be made at a normal label with a colon. The label CONTINUES is used for a FAR jump, if the program contains the below describe statement.

CONTINUE       LABEL FAR

The LABEL directive is used to refer to the data segment along with the data type, word or byte as showing.

DATA SEGMENT DATAS DB 5 OH DUP (?) DATA-LAST LABEL BYTE FAR DATA ENDS

After reserving the 50H locations for DATAS, the next location will be assigned a label DATALAST and its type will be far and byte.

 

Posted Date: 10/12/2012 5:48:46 AM | Location : United States







Related Discussions:- Label-assemblers directive-microprocessor, Assignment Help, Ask Question on Label-assemblers directive-microprocessor, Get Answer, Expert's Help, Label-assemblers directive-microprocessor Discussions

Write discussion on Label-assemblers directive-microprocessor
Your posts are moderated
Related Questions
Write a program that defines symbolic constants for all of the days of the week


do you have experts that know 4 digit 7_Seg dispaly

$NOMOD51 $NOSYMBOLS ;***************************************************************************** ; Spring 2013 Project ; ; FILE NAME : Project.ASM ; DATE : 3/30/20

MOVSW/MOVSB : Move String Word or String Byte: Imagine a string of bytes, stored in a set  of consecutive memory locations is to be moved to another set of  the destination locati

Signal descriptions of 8086 : described below are common for the maximum andminimum mode bothdata lines AD15 -AD0: These are the time multiplexed andmemory I/O address. Addre

Problems: 1. Write a single program. Each of the problems (2-4) should be written within a procedure. Your “main” procedure should call each procedure. Before calling each proc

Interrupt System Based on Single 8259 A The 8259A is contained in a 28-pin dual-in-line package that need only a + 5-V supply voltage.  Its organization is shown in given figur

SHR : Shift Logical Right: This instruction performs bit-wise right shifts on the operand word or byte that might be reside in  a memory location or a register, by the specified c

write a Mips program that read a string AND PRINT IT ON THE SCREEN