Hello Matthias and all,

"-int" (int-off.asm) counterpart is "int_restore" (int-restore.asm). So,
why is this "int_restore" header commented out, i.e., not available to
the high level?

Candidly, as "+int" (int-on.asm) is a simple SEI instruction (Set Global
Interrupt Flag) one would expect "-int" to be a simple CLI (Clear Global
Interrupt Flag) but this is not the case...

May I suggest:

+int → SEI
-int → CLI
int_suspend → ( -- SREG ) CLI
int_restore → ( SREG -- )

Thanks, Enoch.



------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to