asm_tty_state_param_none_action.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/drivers/tty/state/asm_tty_state_param_none_action.asm

SECTION code_driver
SECTION code_driver_tty

PUBLIC asm_tty_state_param_none_action

asm_tty_state_param_none_action:

   ; command code has no parameters and action is invoked

   ;  c = action code
   ; stack = & tty.action
   
   ld a,c
   or a
   
   pop hl
   ret
