Org-proc-assemblers directive-microprocessor, Assembly Language

Assignment Help:

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

 


Related Discussions:- Org-proc-assemblers directive-microprocessor

Schematic circuit diagram of system, Perform an extensive web search of pop...

Perform an extensive web search of popular microcontroller manufacturers (some of the major players) to select a suitable device for the system to control the lighting of a typical

Read architecture:look through-microprocessor, Read Architecture: Look Thro...

Read Architecture: Look Through Main memory that located is conflicting the system interface. The least concerning feature of this cache unit is that it remain between the proc

Whle loop, program to accept 23 students name using while loop let your var...

program to accept 23 students name using while loop let your variable control the value negative 4

16f877 7seg display, do you have experts that know 4 digit 7_Seg dispaly

do you have experts that know 4 digit 7_Seg dispaly

Convert into hex pairs, Convert 751 to hex and show what it would look like...

Convert 751 to hex and show what it would look like stored at TheNumber WORD ? (hint: answer in hex pairs)

Dq-dt-assemblers directive-microprocessor, DQ:   Define  Quad word:-  Th...

DQ:   Define  Quad word:-  This directive is taken in use to direct the assembler to reserve 4 words (8 bytes) of memory for the specified variable and can initialise it having

Internal hardware-interrupts-microprocessor, Internal Hardware-Interrupts ...

Internal Hardware-Interrupts Internal hardware-interrupts are the outcome of sure situations that occur during the execution of a program, for example. Divide by 0. The interru

Icwi-microprocessor, The definitions of the bits in ICWI are following: ...

The definitions of the bits in ICWI are following: Always set to the value 1. It directs the received byte to ICWI as oppose to OCW2 or OCW3. Which also utilize the even addr

English, given a sentence, find the number of times a particular character ...

given a sentence, find the number of times a particular character or word appear. the sentence is to be entered by the user

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