Question Bank PTT2

download Question Bank PTT2

of 1

Transcript of Question Bank PTT2

  • 8/19/2019 Question Bank PTT2

    1/1

    Explain the following instructions

    i. ROR 

    ii. MOVSB

    iii. STD

    iv. ROL

    v. CMSB

    vi. CLC Explain the asse!"ler #irectives $SS%ME& D'& EVE(.

    'rite the co#e seg!ent for !ultipl)ing two * "it nu!"ers.

    Differentiate "etween +$R an# (E$R calls ,$n) - points

    Explain all / tools for #evelop!ent of $sse!"l) language progra!!ing tools.

    Explain Recursive an# reentrant proce#ure

    Define Macro. '$ to solve 0 x1 2 )1 using !acro

    'rite an asse!"l) language progra! to fin# ODD3EVE( nu!"ers in the arra).

    'rite an asse!"l) language progra! to transfer "loc4 of #ata fro! one seg!ent to another with

    an# without string instructions 'rite an asse!"l) language progra! to co!pare two strings an# print on console whether

    strings are sa!e or not using an# without using string instructions. Explain the asse!"ler #irectives proc& !acro& an# seg!ent.

    'rite the co#e seg!ent for su"traction of two * "it nu!"ers.

    Explain the concept of +$R C$LL

    Draw the ti!ing #iagra! of !e!or) rea# operation in !ini!u! !o#e

    Explain Recursive an# reentrant proce#ure

    Define Macro. '$ to solve 0 ,5267,$2B

    'rite an asse!"l) language progra! to fin# positive an# negative nu!"ers in an arra).

    'rite an asse!"l) language progra! to count the nu!"er of ones an# 8eroes in an eight "it

    nu!"er  'rite an asse!"l) language progra! to co!pare two strings in two #ifferent seg!ents an# print

    on console whether strings are sa!e or not. Explain the concept of (E$R C$LL

    Define Macro. '$ to solve 0 51261

    Draw the ti!ing #iagra! of !e!or) rea# operation in !ini!u! !o#e

    Draw the ti!ing #iagra! of !e!or) rea# operation in !axi!u! !o#e

    Draw the ti!ing #iagra! of !e!or) write operation in !axi!u! !o#e

    'rite an asse!"l) language progra! to fin# the nu!"er of ones an# 8eroes in a given * "it

    nu!"er