Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

himemx v3.35 (Announce)

posted by Rugxulo Homepage, Usono, 11.04.2020, 02:12

Eric Auer writes again:

> Another oddity is that you use a conditional jump $+2
> after writing CR0, instead of Rod's jmp short $+2: I
> guess that has some sort of compatibility background?
>
> Actually those flags can have undefined changes by writing CR0,
> so making the post-set jump conditional would not work because
> you could not reliably send condition flags across the CR0 change.
> Another thought is that the very fact that undefined changes
> can happen could be the reason to use conditional jumps:
> A CPU jump prediction could not predict it?

 

Complete thread:

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