Name-offset-assemblers directive-microprocessor, Assembly Language

NAME :

Logical Name of a Module: The NAME directive which is used to assign a name to an assembly language program module. The modulecan now be mention to by its declared name. The names, if chosen to be suggestive, may be point out the functions of the different modules and hence can help in the documentation.

OFFSET : Offset of a Label:

When the assembler comes across the OFFSET operator with a label, firstly it computes the 16-bit displacement (it is also called as offset interchangeably) of the specific label, and replaces the 'OFFSET LABEL' string by the computed displacement. This operator is used with, strings, arrays, labels and procedures to decide their offsets in their default segments. The segment may be decided by another operator of same type, which is, SEG. Its most general use is in the case of the indirect, indexed, based indexed or other addressing techniques of similar types, used to indirectly refers  to the memory. The instance of this operator is as follows:

Example :

CODE  SEGMENT

MOV SI,  OFFSET LIST

 CODE ENDS

DATA SEGMENT

LIST DB IOH DATA ENDS

 

Posted Date: 10/12/2012 5:55:09 AM | Location : United States







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

Write discussion on Name-offset-assemblers directive-microprocessor
Your posts are moderated
Related Questions
A/D conversion: Basic tasks: (a) Write a program that will read and display the analog voltage on pin PE7 approximately once every second. (b) Write a program that will read and d

a- Trace the following program fragment and find out the content of ax after the          the execution of the program.         X db   5,7  -3,-9,4,-7,9               Mov

Task One Produce a menu such as the one below (remember to keep to this specification). M E N U 1, Enter Number 1 2, Enter Number 2 3, Display num1 and num2 4, D

errorlevel -302 ;prevents error code for this chipset __config 0x373A ;chip config PIC spec page 146 processor 16F877A ;chipset reset code

How is bob different from johnny in the outsiders

Comparison between 8086 and 8088 All the changes in 8088 above 8086 are indirectly or directly related to the 8-bit, 8085 compatible data and control bus interface. 1) The p

You have been hired by the Elbonian government to write an Assembly program to help its workforce determine how much their tax will be. The tax laws in Elbonian are very simple. Th

PC Bus and Interrupt System The PC Bus utilized a bus controller, address latches, and data transceivers (bidirectional data buffers). 1) Bus controller : ( Intel 8288 Bus

The problem to be solved and implemented with an ARM assembly language program You are asked to do some image processing on an image composed of characters shaped in For exa