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
There are two parts to this assignment. The first part has you reading 4 integers representing; #QUARTERS, #DIMES, #NICKELS & #PENNIES, respectively. Your program should compute t

Type of Microprocessor : Microprocessors fall into 3 categories: Single Chip Microcomputers: - Contains RWM, ROM, microprocessor, I/O port, timer and clock. General pu

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

Internal Hardware-Interrupts Internal hardware-interrupts are the outcome of sure situations that occur during the execution of a program, for example. Divide by 0. The interru

how to add 111 and 333 in assembly language

can any one help me in my project by using assembly language

LODS : Load String Byte or String Word:- The LODS instruction loads AL/AX register by the content of a string pointed to by DS:SI register pair. The SI is automatically modifie

IMUL: Signed Multiplication: This instruction multiplies a signed byte by a signed bit in source operand e in the register AL or signed word in source operand by signed word in th