Length-assemblers directive-microprocessor, Assembly Language

LENGTH : Byte Length of a Label:

This directive is not available in MASM. This is used to mention to the length of a data array or a string.

MOV CX. LENGTH ARRAY

This statement is when assembled will substitute the length of the array ARRAY in bytes, in the instruction.

LOCAL the variables, labels, constants or procedures declared LOCAL in a module are to be used only by that module.  At a later time, some other module can be declare specific data type LOCAL, which is previously declared LOCAL by another module or modules.

Thus the similar label may serve different purposes for type different modules of a program. Having a single declaration statement, a number of variables may be declared local, as shown.

LOCAL a, b, DATA, ARRAY, ROUTINE

 

Posted Date: 10/12/2012 5:51:27 AM | Location : United States







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

Write discussion on Length-assemblers directive-microprocessor
Your posts are moderated
Related Questions
Arithmetic Instruction :               These instructions are usually perform the arithmetic operations, like subtraction ,multiplication, addition, and division along with th

1. Start your program at address $8500. To do this you need to inform the assembler, through the EQU and ORG assembler directives, that you want your program to start at $8500. Thi

DMA controller :     Steps include in transferring a block of data from I/O devices (for example a disk) to memory: 1. CPU sends a signal to initiate disk transfe

How can i starting with Assembly langauge?

Assembly Language: Inside the 8085, instructions are really stored like binary numbers, not a very good manner to look at them and very difficult to decipher. An assembler is

to find the matrix addition

i want to develop traffic light system so which kind of software is needed to develop this project?

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

LENGTH : Byte Length of a Label: This directive is not available in MASM. This is used to mention to the length of a data array or a string. MOV CX. LENGTH ARRAY This sta

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