So the question is:Assume we had 15 CPU instructions and, for each instruction, we were trusting one particular component of the kernel to handle it. How many modes do we need to support (including the user mode), and how many bits we had to use to represent these modes? What is an advantage and a disadvantage of using this scheme instead of the kernel/user mode scheme, where one kernel component is trusted to handle all 15 instructions?Is it 16 modes (1 kernel mode for each component, then the 1 user mode) or is it just the regular 2 modes? Would it be 4 or 1 bit(s) for 16 modes or 2 modes respectively?I want to say an advantage are that 15 components would be more powerful, but I feel like I should be able to explain more. I think a disadvantage would be power and memory allocation.Is that somewhat in the right direction?
How many bits are needed? Advantages/disatvantages of this configuration?
operating systems;os kernel