Can the virtual address be the same as the physical address?

Can the virtual address be the same as the physical address?

Physical addresses refer to hardware addresses of physical memory. Virtual addresses refer to the virtual store viewed by the process. might be different, in which case virtual addresses must be mapped into physical addresses.

Can two processes generate same virtual address if yes then will there physical address be different or same why same or why different?

Shared Memory concept is an exception where all the process can share some of their virtual address range with each other,that will be mapped to a common physical address space.So in this case answer can be YES.

What is the size of physical and logical addresses?

Logical Address space = 2 ^ 24 bytes. Let’s say, Page size = 4 KB = 2 ^ 12 Bytes. Page offset = 12. Number of bits in a page = Logical Address – Page Offset = 24 – 12 = 12 bits.

What’s the difference between physical addressing and virtual addressing?

Please, explain the above concept with some simple examples in some simple architecture. Physical addressing means that your program actually knows the real layout of RAM. When you access a variable at address 0x8746b3, that’s where it’s really stored in the physical RAM chips.

What’s the difference between virtual and physical memory?

Because each program has its own distinct virtual memory set, no program can read another’s data – this is both a safety and a security plus. Virtual memory also enables paging, where a program’s physical RAM may be stored on a disk (or, now, slower flash) when not in use, then called back when an application attempts to access the page.

Which is an example of a virtual Embeded hardware system?

The VAX (Virtual Address eXtented by Digital Equipment Corp which became Compaq, which became HP) is a very good example of an virtual embeded hardware system. It was a 32 bit mini computer that had an OS called VMS or Virtual Memory Systems.