Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

indirect far jmp - calling old INT problem (Developers)

posted by bretjohn Homepage E-mail, Rio Rancho, NM, 15.05.2012, 18:45

This morning I thought of an even smaller way to "clean up" after the INT 85h:

INT 85h
POP BP
RETF 2

RETF n usually doesn't even cross my mind as a way to end an ISR, since it has the potential to do undesirable things with the flags as discussed earlier. In this case, though, it would work just fine, and is more efficient than the IRET solution.

 

Complete thread:

Back to the forum
Board view  Mix view
22762 Postings in 2122 Threads, 402 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum