Professional Documents
Culture Documents
NAMTAB – it is used to store the macro names and it contains two pointers for each
macro instruction which indicate the starting and end location of macro definition in
DEFTAB.it also serves as an index to DEFTAB
ARGTAB – it is used to store the arguments during the expansion of macro invocations.
Linking – combines two or more separate object programs and also supplies the
information needed to reference them.
A non-blocking system call is a system call that does not block. The calling process can
continue execution while the operation is in progress and returns immediately when it’s
complete.
20. Show three disadvantages of placing functionality in a device controllers, rather
than in kernel.
Advantages:
• Bugs are less likely to cause an operating system crash.
• Performance can be improved by utilizing dedicated hardware and hard-coded
algorithms.
• The kernel is simplified by moving algorithms out of it.
Disadvantages:
• Bugs are harder to fix - a new firmware version or new hardware is needed.
• Improving algorithms likewise require a hardware update rather than just a kernel or
device driver update.
• Embedded algorithms could conflict with application’s use of the device, causing
decreased performance.
21. Explain the importance of scaling up system-bus and device speeds as CPU speed
increases.
This ensures that data can be transferred quickly and efficiently between the CPU,
memory, and devices, allowing the system to operate at its full potential.