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 32-bit program which when run, allows the user to select from a menu: (1)    Enter a Binary Number (2)    Enter a Decimal Number (3)    Enter a Hexadecimal Number

Write Policy A write policy determines how the cache deals with a write cycle. The 2 common write policies areWrite-Throughand Write-Back. In Write-Back policy, the cache behav

ASSUME: Assume Logical Segment Name:- The ASSUME directive which is used to inform the assembler, the specified names of the logical segments to be consider for different segme

Write a MIPS/SPIM assembly language program that prints the smallest and largest values found in a non-empty table of N word-sized integers. The address of the first entry in your

HELLO I AM TRYING TO ADD AND SUBTRACT BUT I SEEM CAN''T FIND THE CORRECT REGISTER TO PUT IN

Intel's 8237 DMA controller : 1) The 8237 contain 4 independent I/O channels 2) It contains 27 registers, 7 of which are system-wide registers and 5 for each channel. 3)

Assembler Directives and Operators The major advantage of machine language programming is directly that the memory control is in the hands of the programmer, so that, he can be

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

Maximim and Minimum mode 8088 system : In the maximum mode, the pin 880 is lastingly high. The functions and timings of other pins of 8088 are exactly similar to 8086. Due to t