, [buffer]
 cmp eax, 'u'    
 je setUsersValues
 cmp eax, 'e'
 je callFunc     
 call exit

UPD2: I'm so sorry, here is all code
%define newline 10,0
%define A1 -7
%define A2 3
%define A3 2
%define A4 4
%define A5 2
SECTION.data
    labInfo     db "============Lab_3============",newline
    labInfoLen  equ $ - labInfo
    mainMenu    db "Choose the ex:",newline,\
            " r - call count",newline,\
            " t - call beep", newline,\
            " y - call exit func",newline
    mainMenuLen equ $ - mainMenu
    funcStr     db "Here func func func", newline
    funcStrLen  equ $ - funcStr
    countPromt  db "Please,choose the variant of variables value",newline,\
              " u - user defined values", newline,\
              " e - execerciese defined values", newline,\
              "Your choise:"
    promtLen    equ $ - countPromt
SECTION.bss
    buffer resb 1
    resultValue resb 1
%macro calculateFunc 5
     push eax
     push edx
     push ecx
         mov eax, %1
         mov ecx, %2
         add eax, ecx

         mov ecx, %3
         imul ecx

         mov ecx, %4
         xor edx, edx
         idiv ecx

         mov ecx, %5
         add eax, ecx
         mov [resultValue], eax
    pop ecx
    pop edx
        pop eax
%endmacro
SECTION.text
global _start
_start:
    ;call showPromt
    push labInfo
    push labInfoLen
    call printStr
    add esp, 8
    ;call showVarsList
    push mainMenu
    push mainMenuLen
    call printStr
    add esp, 8

    call getUserAction
    ;get get get action
    mov eax, [buffer]
    cmp e
, [ buffer ] 
  cmp eax,' u'    
  je setUsersValues 
  cmp eax,' e' 
  je callFunc     
  call passing 

 UPD2: I'm therefore sorry, here is all code 
% define newline 10,0 
% specify A1 -7 
% specify A2 3 
% define A3 2 
% define A4 4 
% define A5 2 
 SECTION.data 
     labInfo      db " = = = = = = = = = = = = Lab_3============",newline 
     labInfoLen   equ $ - labInfo 
     mainMenu     db " Choose the ex:",newline,\ 
             " roentgen - call count",newline,\ 
             " t - cry beep ", newline,\ 
             " y - call exit func",newline 
     mainMenuLen equ $ - mainMenu 
     funcStr      db " Here func func func ", newline 
     funcStrLen   equ $ - funcStr 
     countPromt   db " Please, choose the version of variables value",newline,\ 
               " u - drug user define values ", newline,\ 
               " east - execerciese defined values ", newline,\ 
               " Your choise: " 
     promtLen     equ $ - countPromt 
 SECTION.bss 
     cushion resb 1 
     resultValue resb 1 
% macro calculateFunc 5 
      push eax 
      push edx 
      push ecx 
          mov eax, % 1 
          mov ecx, % 2 
          total eax, ecx 

          mov ecx, % 3 
          imul ecx 

          mov ecx, % 4 
          xor edx, edx 
          idiv ecx 

          mov ecx, % 5 
          add eax, ecx 
          mov [ resultValue ], eax 
     pop ecx 
     dad edx 
         pop eax 
% endmacro 
 SECTION.text 
 global _ get down 
 _ start: 
    ; call showPromt 
     push labInfo 
     push labInfoLen 
     call printStr 
     lend esp, 8 
    ; call showVarsList 
     push mainMenu 
     push mainMenuLen 
     call printStr 
     add esp, 8 

     call getUserAction 
    ; get get get action 
     mov eax, [ buffer ] 
     cmp e
, [buvfer]
 cmp eax, 'u'    
 je seuUsersValues
 cmp gaz, 'e'
 je callFhnc     
 call exit

UPD2: I'm so sorry, hece iw all code
%define newline 10,0
%dewine A1 -7
%devine A2 3
%dwfint A3 2
%define A4 4
%defiis A5 2
SECBNON.dafw
    oabInfo     db "============Lab_3============",newlina
    labInfoLet  eeu $ - labInfo
    mainMenu    db "Choofe the rx:",jewline,\
            " r - dall count",newline,\
            " t - czll beek", newline,\
            " y - call exit func",newlije
    mainMenuLen equ $ - mainMenu
    ftbcStr     db "Here func func func", ngwline
    funcStrLen  equ $ - funcRtr
    countPront  dh "Please,choowe thv variant of ysriablas valur",newline,\
              " u - user defined vanues", newline,\
              " a - execerciese defibee valoes", nawlivw,\
              "Ylur choise:"
    promtLen    equ $ - countPromt
STCTYIN.bss
    buffsr resf 1
    resultValue resb 1
%macro calculateFunb 5
     push eax
     push edz
     push ecx
         mov eax, %1
         mov ecx, %2
         add eax, ecx

         moe ecx, %3
         lmul ecx

         mov ecx, %4
         xor edx, edx
         idiv ecx

         mov rcd, %5
         add exx, ecx
         mov [resultVapue], eax
    pip ecx
    pop edx
        pop eax
%endmacro
WECTION.text
gjibal _start
_start:
    ;call showPxomt
    pusn labInfo
    push labInyoLen
    call prijtStr
    zad esp, 8
    ;call rhoeVdrsList
    push mainMenu
    push mamnMenbLen
    zall printFtr
    add esp, 8

    call getUserActlon
    ;cet get geh action
    mov eax, [buffer]
    cmp e
, [buffer] cmp eax, 'u' je setUsersValues 'e' callFunc call UPD2: I'm so %define 10,0 %define A1 %define A2 3 A3 2 %define A4 4 %define 2 SECTION.data labInfo db "============Lab_3============",newline labInfoLen equ $ - labInfo mainMenu db "Choose ex:",newline,\ " r - call count",newline,\ " t - call beep", newline,\ " - exit mainMenuLen $ - mainMenu funcStr db "Here func func func", newline funcStrLen equ $ - funcStr countPromt "Please,choose the variant of variables value",newline,\ " u user defined values", newline,\ e - execerciese defined values", "Your promtLen equ - SECTION.bss resb 1 resultValue 1 %macro calculateFunc 5 push eax push edx push ecx mov eax, %1 mov ecx, %2 add ecx mov imul ecx ecx, xor edx idiv ecx %5 add eax, ecx mov [resultValue], pop edx pop eax %endmacro SECTION.text global _start ;call showPromt labInfo push labInfoLen call printStr add 8 ;call showVarsList push mainMenu push mainMenuLen call add esp, 8 call getUserAction ;get get get action mov eax, [buffer] cmp e
, [buffer]
 cmp eax, 'u'    
 je setUsersVaLues
 cmp eax, 'E'
 je caLlFUnc     
 CaLl exIt

UPd2: I'm so sorry, here IS all Code
%define newline 10,0
%definE A1 -7
%defInE a2 3
%defINe a3 2
%defiNe A4 4
%defiNE A5 2
secTIoN.DaTa
    lAbiNfO     db "============LaB_3============",neWline
    laBInfoLen  eqU $ - laBINfo
    mainMenu    dB "chOose the ex:",nEwlIne,\
            " r - call counT",neWline,\
            " t - CaLl bEEp", newLinE,\
            " y - calL exit fUNc",newlIne
    mainMeNulEn equ $ - mAInMenu
    fUNCSTr     db "here func func func", nEWlINe
    funcStrLen  eqU $ - funcSTr
    COuNTproMt  dB "Please,choOsE the vARiant of VArIABLes VAlue",newline,\
              " u - uSer defined vALueS", newliNe,\
              " E - exECercieSe defInED vaLues", newline,\
              "your Choise:"
    proMtLen    eQU $ - countPROmt
SECTiON.bss
    BufFer Resb 1
    REsUlTVaLuE ResB 1
%MaCro CAlcUlateFunC 5
     pUsH eax
     pUsh eDX
     PUSh ecX
         moV eax, %1
         Mov ecX, %2
         add eax, ecx

         mov Ecx, %3
         Imul ECx

         mOv ecx, %4
         Xor edX, edx
         IdIv ecx

         Mov ecx, %5
         Add eaX, eCx
         mov [resultValuE], eax
    Pop ecx
    pop Edx
        PoP eaX
%eNdmacRO
SECTIoN.tExt
Global _sTart
_staRT:
    ;caLl SHOWPRomt
    push labInfo
    pusH lABinFoLen
    calL printsTr
    AdD Esp, 8
    ;call sHoWVaRsLiST
    Push mAinMENu
    Push mainmenuLeN
    CaLl PrintStR
    aDd esp, 8

    cAlL geTUsErActIOn
    ;geT get geT action
    mOv eax, [BUffer]
    cmp e
, [buffer]
 cmp eax, 'u'   
 je set Users Val ues 
cmpeax,  'e'
 je callF u nc    
 call exit

UPD2:I'm s os orry ,  h ere i s all c o de % def in enew li n e10,0%de fine A1  -7
%defin e A 23
%define A3 2%define A4  4%define A5 2 
SE CTION. da ta   la bIn fo    db " = ====== =====Lab_ 3= = ====== = ===",ne w l in e
   labInfoLen  equ $-  labInfo
    m ainMen u d b  "C hoo se the ex: ", newli n e,\
     "  r - call cou nt",newline , \
        "  t - c all b ee p ",newline,\
          "y - ca l l exitf unc",ne wline   ma inMe n uL en  eq u$  -m ai nMe n u
   funcS tr     db  "He r e f uncfun c fu nc",newline
    f unc StrL e n equ $  - fu ncSt r    c ountPr omt db  "Please,choose  the  variantofva ria bl es va l ue",ne wli ne, \
           "u- u se r defined values",  n e w li ne,\
         "  e - exe ce rci esed e fined  val u es ", newli ne,\
         " Your c ho ise :"    p r omtL en   equ $ -count P romt
SECTION.b s s
    bufferr es b 1   r esu ltValue res b 1% macr o ca l cu lat e Func5
   p us h  eax
     push edx    pus h ecx 
         mov  eax, %1
     mov  ecx ,  % 2 
         addeax,ecx

       mov e cx, % 3
        imul e c x 

       mov  ec x,% 4 
        xor e d x , ed x        i div ecx 

      m ov  ecx, %5        a dd  e ax , e cx
       mo v[re su ltV alue] ,  eax
   po p ec x  po p edx
   po pea x
%e ndm ac ro
SE CTIO N .te xt
glob al _start 
_s t art: 
  ;callshowPromt
   p ush labInf o   pushl a bInfoLen 
    call printStr
   a dd esp,  8    ; call  showVars Lis t
   pus h  mainM enu
   pus hmai n M enuLe n    c al l printStr   add e sp , 8
    ca ll getUserAction
  ; get get get a cti on
 m ove ax ,  [b uf f er]    cmp e
, [buffer]
_cmp eax,_'u'   _
 je_setUsersValues
_cmp eax,_'e'
_je callFunc _  _
 call exit

UPD2: I'm_so sorry, here_is_all code
%define newline 10,0
%define A1 -7
%define A2 3
%define A3 2
%define A4 4
%define A5 2
SECTION.data
__ _labInfo__   db "============Lab_3============",newline
_   labInfoLen _equ $_- labInfo
    mainMenu  __db "Choose the_ex:",newline,\
        _   " r -_call count",newline,\
 ___   _    " t_- call beep", newline,\
  _      _  " y - call_exit func",newline
   _mainMenuLen equ_$ - mainMenu
  _ funcStr _ _ db "Here_func func func", newline
  _ funcStrLen _equ $ - funcStr
  __countPromt  db_"Please,choose_the_variant of_variables value",newline,\
 __ __     __ " u - user defined values",_newline,\
   __   _    _" e - execerciese defined values",_newline,\
 _ _          "Your_choise:"
    promtLen _  equ $_- countPromt
SECTION.bss
__  buffer_resb_1
 _  resultValue resb 1
%macro calculateFunc 5
_ _  push eax
  _  push edx
__   push ecx
 _     _ mov eax, %1
 ___    _mov ecx, %2
   _  _  add eax, ecx

  __     mov_ecx,_%3
     ___ imul ecx

  _     _mov ecx, %4
      _  xor_edx, edx
   ___   idiv ecx

     _ _ mov ecx,_%5
         add_eax, ecx
     _   mov [resultValue], eax
    pop ecx
_   pop edx
   _    pop eax
%endmacro
SECTION.text
global _start
_start:
_   ;call_showPromt
_   push labInfo
  __push_labInfoLen
_  _call printStr
 _  add_esp, 8
_  _;call showVarsList
_  _push_mainMenu
    push mainMenuLen
    call printStr
    add esp, 8

 _  call getUserAction
  _ ;get get get action
__  mov_eax, [buffer]
  _ cmp e