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 Memory Caching is a technology based on the memory subsystem of any computer. The majoraim of a cache is to accelerate the computer while keeping the cost of the computer

PLEASE MAY YOU ASSIST ME WITH SAMPLE CODES FOR PROGRAMING A FIRE ALARM MINI PROJECT

how to store a bulk data in a external eeprom

what will be the value of EAX after following instructions execute? mov bx, 0FFFFh and bx, 6Bh

Explain the architecture of the file transfer protocol ftp in terms of clients, servers, sockets

Difference between div and idiv

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

Compute the Fibonacci sequence - assembly program: Problem: Fibonacci   In this problem you will write a program that will compute the first 20 numbers in the Fibonacci sequ

#include"lcd.asm"       ; assembly file is included for displaying lcd characters Main: PORTA EQU 0xF80  ; PORTS PORTB EQU 0xF81 PORTC EQU 0xF82 PORTD EQU 0xF83 R

INTO : Interrupt on Overflow:- It is executed, when the overflow flag OF is set. The new contents of IP and CS register are taken from the address 0000:0000 as described in INT