Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

User exception handler in C (Developers)

posted by Rugxulo Homepage, Usono, 19.08.2020, 19:44

> Better is to use the instruction SMSW which is non-privileged.
>
> function cr0 : longint;assembler;
> asm
> mov eax,0
> smsw ax 
> end;
>


I think you rather meant LMSW here since SMSW only reads from it.

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 263 users online (0 registered, 263 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum