Question: Write a script in C language that takes segment number and offset as command line argument and calls a function that decides whether logical address
Write a script in C language that takes segment number and offset as command line argument and calls a function that decides whether logical address is valid or not. If the address is valid then calculate the Physical address, if not your script should calculate the need.
Segment table:
Segment # : 0 1 2
Base: 70 500 1327
Limit: 450 100 96
Run your script for at least one valid and invalid inputs.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
