I working with an existing code base, and I came across this function that is called durning normal program execution to modify the Interrupt Priority Level (IPL) bits of the Status Register (SR):
__declspec (register_abi) asm unsigned int asm_set_ipl(unsigned int mask)
I'm unfamiliar with this. What is this convention suppose to be doing? (Yes, all the code in this function is assembly.) As nearly as I can tell, this is just stating that this is an assembly function. Is that all this convention is doing? I am using CodeWarrior 10. Thanks.