Org-proc-assemblers directive-microprocessor, Assembly Language

ORG : Origin:-

The ORG directive directs the assembler to begin the memory allotment for the specific segment, code or block from the declared  address in the ORG  statement. Whereasstarting the assembly process for a module, the assembler initialises a location counter to keep track of the allotted addresses for the module. If the ORG statement is not written in program, the location counter is initialised to 0000. If an ORG 200H statement is there at the beginning of the code segment of that module, then the code will begin from 200H address in code segment. In other term, the location counter willinitialise to the address 0200H instead of 0000H. Therefore, the code for different segments andmodules may be located in the available memory as required by the programmer. The ORG directive can even be utilized with data segments in similar way.

PROC: Procedure:-

The PROG directive marks the start of a named process in the statement. The types NEAR or FAR mention the type of the procedure, for example. Whether it is to be called by the main program located within 64K of physical memory or not. For instance, the statement RESULT PROC NEAR marks the start of a routine RESULT that is to be called by a program located in the similar segment of memory. The FAR directive which is used for the procedures to be called by the programs located in different segments of memory. The example statements are following:

Example :

RESULT    PROC    NEAR ROUTINE PROC            FAR

 

Posted Date: 10/12/2012 5:58:04 AM | Location : United States







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

Write discussion on Org-proc-assemblers directive-microprocessor
Your posts are moderated
Related Questions
Intel 8259 interrupt controller :  The 8088 processor has only two interrupt control inputs, and interrupt request (INTR) and non mask able interrupt (NMI). NMI are interrupts t

Display control 8279  provides  a  16  byte  display  memory  and  refresh  logic.  Every address in the display memory corresponds to a display unit with address zero represen

Basic Microprocessor Architecture and Interface : Introduction: Intel launches its first 4-bit microprocessor 4004 in the year 1971 and 8-bit microprocessor 8008 in the y

Signal descriptions of 8086 : described below are common for the maximum andminimum mode bothdata lines AD15 -AD0: These are the time multiplexed andmemory I/O address. Addre

Write an assembly program that adds the elements in the odd indices of the following array. Use LOOP. What is the final value in the register?

I can get it to copy the string but can''t get it to reverse it.

How to write an assembly program The initial step in writing an assembly language program is to identify and study the problem. After studying the problem, choose the logical m

a program that display English letters excluding vowels

programs

• To develop an assembly language program to control a "simulated" intelligent domestic lighting system with the intention of deterring burglary. • To produce a schematic circuit d