User Mode — A few days ago, we have executed a program in our operating system with kernel mode.
In this article, I’m going to discuss how to run a simple program in our operating system in user mode. Segmentation for user mode To enable user mode we need to add two more segments to the GDT…