Name-offset-assemblers directive-microprocessor, Assembly Language

Assignment Help:

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

 


Related Discussions:- Name-offset-assemblers directive-microprocessor

Program, move a byte string ,16 bytes long from the offset 0200H to 0300H i...

move a byte string ,16 bytes long from the offset 0200H to 0300H in the segment 7000H..

Estimation of a definite integral, Can any one assist me with this program....

Can any one assist me with this program. I am not efficient with assembly language and I need assistance badly. I am not asking anyone to do my work I just need help step by step

Implement an assembly language program, A good starting point for your prog...

A good starting point for your program is the toupper.asm program shown in class. It already queries the user for input and sets up a loop that looks at each character of the input

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

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

Motorola 68000 series, Motorola 68000 Series : 68000microprocessor is a...

Motorola 68000 Series : 68000microprocessor is a 16 bit processor that has addressing space of 65536 locations, each of which holds a 64-bits word; In order to address those lo

Relocate program and data, ) What is the difference between re-locatable pr...

) What is the difference between re-locatable program and re-locatable data?

Explore debugger, add the contents of the defined memory locations 120, 133...

add the contents of the defined memory locations 120, 133, 122 using mov instruction in dosbox

Assembly language, how to find out the given number is positive or negative...

how to find out the given number is positive or negative?

Control transfer or branching instruction-microprocessor, Control Transfer ...

Control Transfer or Branching Instruction Control transfer instructions transfer the flow of execution of the program to a new address specified in the instruction indirectly o

Test-logical instruction-microprocessor, TEST : Logical Compare Instructio...

TEST : Logical Compare Instruction: The TEST instruction performs bit by bit logical AND operation on the 2 operands. Each bit of the result is then set to value I, if the equival

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd