|
仅供参考
#include "hs_port_asm.inc"
#include "vregs.inc"
EXTERN HSCurrentTask
EXTERN HSToTask
EXTERN tsk_next_ready
EXTERN HS_TicksHandler
PUBLIC _interrupt_25
SECTION `.far_func.text`:CODE:NOROOT(0)
_interrupt_25:
SIM
BRES 0x5342, #0
INT_SAVE_REGS
SAVE_OLD_PCONTEXT
callf HS_TicksHandler
callf tsk_next_ready
LOAD_NEW_PCONTEXT
INT_RESTORE_REGS
// IRET
END |
|