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
2. Write a program to separate out positive and negative numbers from a given series of 16-bit hexadecimal numbers.

How to write an assembly program The initial step in writing an assembly language program is to identify and study the problem. After studying the problem, choose the logical m

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

General Bus Operation The 8086 has a joined data and address bus commonly referred to as a time multiplexed address and data bus. The major reason behind  multiplexing address


Write an assembly language program that will display (print) a list of the Decades 2010, 2020, 2030... 2100 to the screen using a while loop.

http://www.raritanval.edu/uploadedFiles/faculty/cs/full-time/Brower/CISY256/2013Spring/CISY256%20Assembly%20Project.pdf

The processor 8088 The launching of the processor 8086 is consider as a remarkable step in the development of high speed computing machines. Before the introduction  of 8086 mo

Flag Register : 8086 has a 16-bit flag register which is divided into 2 parts, viz. (a)machine control flagsand (b)condition code or status flags. The condition code flag regi

Convert 751 to hex and show what it would look like stored at TheNumber WORD ? (hint: answer in hex pairs)