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.
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.
what is re-locatable programes
assembly language program for sorting an array using 8086 microprocessor.
An address that is to be adjusted by the loader when the computer program containing the address is loaded into memory.
write program to concatenating two sting in 8086 assembly language
Which microprocessor accepts the program written for 8086 without any changes?
You need an 8086 assembly language pencil.
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
Breaking the sequence of program
sdfsdfsfsggbcvbg
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 re-locatable programes
How to write a program for mouse in microprocessor?