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
Cache components The cache sub-system may be divided into 3 functional blocks: Tag RAM, SRAM and theCache Controller. In real designs, these blocks can be implemented  by multi

which uses BIOS interrupt INT 21 to read current system time and displays it on the top-left corner of screen.

Develop an assembly language program for the system and simulate it using MPLAB. From this produce a demo program (in Assembly language) that will run on the MatrixMultimedia Devel

AND: Logical AND: This instruction bit by bit ANDs the source operand that might be an immediate, or a memory location or register to the destination operand that might be a memor

RICS/CISC Architecture An essential aspect of computer architecture is the design of the instruction set for the processor.  The instruction set selected for a specific compute

I need a text conversion program written in 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

calculate the number of one bits in bx and complement an equal number of least significant bits in ax hint use the xor instruction

1. Write a program that will generate an array of ten random 32-bit integers, and that will  display on the monitor the numbers followed by either the words " has the fourth bit se

1. Write a program that calculates the Fibonacci series: 1, 1, 2, 3, 5, 8, 13, ….. (Except for the first two numbers in the sequence, each number is the sum of the preceding two n