4 #ifndef SDCC_MODEL_LARGE
5 __data unsigned char vec_param1;
6 #endif /* SDCC_MODEL_LARGE */
10 #ifndef SDCC_MODEL_LARGE
11 void __code *vec_set(prot_int fnc,unsigned char vec) VECT_FNC_REENTRANT
24 * vec Allocated to stack - offset -3 (the push _bp taken into account)
25 * fnc Allocated to registers
27 void __code *vec_set(prot_int fnc,unsigned char vec) VECT_FNC_REENTRANT
41 #endif /* SDCC_MODEL_LARGE */
43 void __code *vec_set(void __code *fnc,unsigned char vec) VECT_FNC_REENTRANT
47 mov dpl,r7 ; fnc address into DPTR
49 mov a,r5 ; vec into r4
54 mov a,r5 ; return previous vector setting
61 void vec_jmp(unsigned char vec)
71 void vec_jmp(unsigned char vec)