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.
what is re-locatable programes
assembly language program for sorting an array using 8086 microprocessor.
write program to concatenating two sting in 8086 assembly language
An address that is to be adjusted by the loader when the computer program containing the address is loaded into memory.
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?