Skip to content

Question: can a __interrupt routine set ax or al register on return #856

Answered by jmalak
LowLevelMahn asked this question in Q&A
Discussion options

You must be logged in to vote

it fixes simple cast
_dos_setvect(0x24, (void __interrupt (__far *)( void ))interrupt_24h); // fails

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by LowLevelMahn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #855 on April 25, 2022 19:51.