Name-offset-assemblers directive-microprocessor, Assembly Language


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 :







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
MLIL: Unsigned Multiplication Byte or Word: This instruction multiplies an unsigned byte or word by the contents of the AL. The unsigned byte or word can be in any one of the gene

Internal Hardware-Interrupts Internal hardware-interrupts are the outcome of sure situations that occur during the execution of a program, for example. Divide by 0. The interru

describes vertical and horizontal web services protocols. Next, identify the similarities and differences between vertical and horizontal web services protocols. Finally, explain w

write a program assembly language for adding two 3*3 matrix

(1) Write a program that will: (a) display "Enter Your Name:" (b) convert the entered name to Capital letters (if small), If any other character is entered, the program wil

do you have experts that know 4 digit 7_Seg dispaly

Program : Write a program to perform a one byte BCD addition. Solution : It is consider that the operands are in BCD form, but the CPU considers it as hexadecimal and acco

There are two parts to this assignment. The first part has you reading 4 integers representing; #QUARTERS, #DIMES, #NICKELS & #PENNIES, respectively. Your program should compute t

init_lcd                        ;(this initialises a 2 row lcd)     bcf     TRISA,0             ;PORTA bit 0 as an output (lcd RS pin)     bcf     TRISA,1             ;PORTA bit 1

hey ,, I need to know how to let a symbol moves with mouse ??