How big are interrupt error codes?
Posted: Sat Jul 25, 2015 4:22 am
Right now I am working on implementing interrupts in my toy OS.
When a interrupt that pushes an error code occurs it pushes: ss, esp, eflags, cs, eip and finally the error code! Right?
But is the error code 32 bit?
If I want to pop it, i'd go: pop ah, pop ax or pop eax?
When a interrupt that pushes an error code occurs it pushes: ss, esp, eflags, cs, eip and finally the error code! Right?
But is the error code 32 bit?
If I want to pop it, i'd go: pop ah, pop ax or pop eax?