in Operating System
643 views
5 votes
5 votes
Overlaying is used to run a program which is longer than the address space of a computer
Is the above statement is TRUE/FALSE?
I think it is TRUE, as we can load required process space for execution at different time.
Correct me if I am wrong
in Operating System
643 views

3 Comments

Overlaying is used to run a program which is longer than the address space of a computer : Yes

0
0
This seems like Paging mechanism in the Memory. Why there is a different name for it. Any differences from Paging?
0
0
1
1

1 Answer

2 votes
2 votes

In a general computing sense, overlaying means "the process of transferring a block of program code or other data into internal memory, replacing what is already stored". Overlaying is a programming method that allows programs to be larger than the computer's main memory. An embedded system would normally use overlays because of the limitation of physical memory, which is internal memory for a system-on-chip, and the lack of virtual memory facilities.

yes you are correct, for more you can read: https://en.wikipedia.org/wiki/Overlay_(programming)