answersLogoWhite

0


Best Answer

Some are and some are not.

A model of a relacatable program is the DOS .COM file. As a disk file, this program is a binary image of what is loaded in memory. The segment registers are loaded by the operating system, and often were unchanged by the program during operation. It is possible, however, to request more memory from the operating system (or assume the memory is there) and use it, changing the segment registers as required.

The non-relocatable program is the .EXE file. In it, segment overrides are not filled in, and must be inserted by the operating system when the program is loaded. Such a file will run anywhere in memory that the operating system puts it, but it must be loaded by the operating system, and the image in memory is not the same as what is on disk.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

Intel 8086/8088 program are sometimes relocatable or, more precisely, position independent, if they do not attempt to manipulate the segment registers. In this case, the OS can load the program anywhere in available memory on a 16 byte boundary, set the segment registers accordingly, and the program will run correctly. In this mode, however, the program only has access to four 64KB segments of memory.

It is also possible to be position independent and have access to more memory of the program takes the approach of biasing all segment manipulations to the initial values present at program startup.

Note that this discussion does not take into account the possibility that the load module format is, in itself, relocatable, requiring relocation by the loader. That is a third possibility.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Is program in 8086 are relocatable?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is program relocatable?

what is re-locatable programes


8086 assembly program to sort a list of integers?

assembly language program for sorting an array using 8086 microprocessor.


What does it means by relocatable address?

An address that is to be adjusted by the loader when the computer program containing the address is loaded into memory.


Assembly language program for string concatenation using 8086 microprocessor?

write program to concatenating two sting in 8086 assembly language


Which microprocessor accepts the program written for 8086 without any changes?

Which microprocessor accepts the program written for 8086 without any changes?


Write a program in 8086 assembly language to draw a circle?

You need an 8086 assembly language pencil.


Differentiate between relocatable and self relocatable programs?

relocatable code is code where final output of the assembly phase,ready to be used an input to loader. self relocatable is the code where output of the code is ready to use any point


Where dowe define interrupts in 8086?

Breaking the sequence of program


Do an 8086 assembler program to find parity of a given number?

sdfsdfsfsggbcvbg


Can a program written in 8085 microprocessor run in 8086 microprocessor?

No. They have a different instruction set. However, the processors are sufficiently similar that an 8086 assembler could assemble an 8085 program, given appropriate constants and macros. Some things, however, such as RIM, SIM, RST, etc. do not have equivalents in the 8086.


What is relocatable?

what is re-locatable programes


Could you Write a program for 8086 microprocessor that displays on the monitor the average of 2 numbers from an array?

How to write a program for mouse in microprocessor?