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
NOT : Logical Invert: The NOT instruction complements (inverts) the contents of an a memory location or operand register bit by bit. The instance are as following: Example :

How do i convert a asci number to numerals?

Program is written but has errors returning values from the procedure.

Machine Coding the Programs So far we have describe five programs which were  written  for hand coding  by a programmer. In this, we will now have a deep look at how these prog

PTR : Pointer:- The pointer operator which is used to declare the type of a variable, label or memory operand. The operator PTR is prefixed by either WORD or BYTE. If the prefi

write a programme the addition two 3*3 matrix and stored in from list

Read Architecture : Look Aside Cache In "look aside" cache architecture the main memory is located conflictingthe system interface. Both the cache main memory sees a bus cycle

8279 Keyword /Display Controller : Figure shows the structure of 8279 and its interface to the bus. Addressing is according to the table given below. CS        RD

#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

write an assembly language program to find average of odd numbers from an array of 8 bit numbers