So assembly language interrupts are signals to the OS asking it to perform an action based on what is in the register. I was thinking, what would happen if there is no OS on the device you are programming. If you can't use interrupts from the OS would you have to make a large piece of code for a simple thing such as telling the computer to end the program?
Lilith24 0
Newbie Poster
Recommended Answers
Jump to PostNot directly. To shutdown the computer or reboot it, you can simply use direct hexcodes. Reboot for example is
DB 0EAh DW 0000h DW 0FFFFh
When you run your programme without an OS you can put your code in the interruptvector (should be many tuts in the …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.