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
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

Intel's 8237 DMA controller : 1) The 8237 contain 4 independent I/O channels 2) It contains 27 registers, 7 of which are system-wide registers and 5 for each channel. 3)

END : END of Program:- The END directive marks the ending of the assembly language program. When the assembler comes across this END directive, it avoided the source lines avai

Interrupt Table Each interrupt level has a booked memory location, called an interrupt vector.  All these vectors (or pointers) are stored in the interrupt table. Table lies at

Write the structure of For…Next loop in VB.Net and also write a program to print integers from 1 to 10 on the console.

1. Write a program that will generate an array of ten random 32-bit integers, and that will  display on the monitor the numbers followed by either the words " has the fourth bit se

AAD stand for what??

program to find negative and positive integers from given signed numbers with output and explanation of every instructions.

calculate the number of one bits in bx and complement an equal number of least significant bits in ax hint use the xor instruction

LIST p=18f4550 #include org 0x0000 movlw 0x00 _________ movlw 0xFF movwf PORTB end .