im2_create_generic_isr_8080_callee.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/z80/c/sdcc_iy/im2_create_generic_isr_8080_callee.asm

; void *im2_create_generic_isr_8080_callee(uint8_t num_callback, void *address)

SECTION code_clib
SECTION code_z80

PUBLIC _im2_create_generic_isr_8080_callee, l_im2_create_generic_isr_8080_callee

EXTERN asm_im2_create_generic_isr_8080

_im2_create_generic_isr_8080_callee:

   pop af
   pop hl
   pop de
   push af

l_im2_create_generic_isr_8080_callee:
   
   ld a,l
   
   jp asm_im2_create_generic_isr_8080
