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
DIV: Unsigned Division:- This instruction performs unsigned division operation. It divides an unsigned word or double word by a 16-bit or 8-bit operand. The dividend might be in t

Port Mapped I/O or I/O Mapped I/O I/O devices are mapped into a separate address space. This is generally accomplished by having a different set of signal lines to denote a mem

Hold Response Sequence The HOLD pin is examined at leading edge of each clock pulse. If it is received active line by the processor before T4 of the earlier cycle/during the T1

write an assembly language program that has two subroutines : one for encrypting alphabates of a string and second fo decrypting the encoded string . in encryption simply converta

Write an 8086 program to find out the number of positive numbers and negative numbers from a given series of signed numbers include flow chart ..

I need a text conversion program written in assembly language

DMA DMA stands for Direct Memory Access It is uses same Address/Data lines on ISA bus It controls the ISA bus instead of the processor ("bus master") Floppy

Write a MC68H12 assembly language program to find the largest number in an array of ten 8-bit numbers. The array is stored in memory locations starting at address $1100. Use branch

CBW: Convert Signed Byte to Word: This instruction converts a signed byte to a signed word. In other terms, it copies the sign bit of a byte to be converted to all of the bits in

implement the following c++ code in assembly language using the block-structured .IF and .while directives