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 :



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
1. 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? array1 DWORD 10, 20, 30, 40, 50, 6

assembly language program to find larges number in an array

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

GROUP : Group the Related Segments:- The directive which is used to form logical groups of segments with same purpose or type. This isused to inform the assembler to form a log

assempbly language routine that takes an array named A containing n bytes of postive numebrs and fills two arranys, array B containing n words and array C containing n long words

Write a program to calculate the first 20 numbers of Fibonacci series. Use the stack (memory) to store the calculated series. Your debugger output should look like the following sc

The Alpha : The development of the Alpha chip start in the year 1988 The new chip used 64 bit technology, let users to pack  more  complexity  into  their  programs  than  exis

Ask question #MinimuWHAT ARE CONSTANTS AND WHAT DO THEY DO?m 100 words accepted#

Example : Add the contents of the 2000H: 0500H memory location to contents of 3000H: 0600H and store the result in 5000H: 0700H. Solution : Unlike the past example progra

1. The microwave has a clock (hh:mm:ss am/pm) and the user should be able to change the clock at any time. 2. For cooking the user should first enter the time. The user can ente