I'm writing a simple OS in assembly but I can't figure out how to shutdown the computer.
I've tried to use hlt
like this
.shutdown:
mov si, msg_shutdown
call print_string
hlt
but it doesn't work.
I know that int 19h
will restart the computer but is there an interrupt for shutdown?
I'll appreciate some help. Thanks.