• Home   /  
  • Archive by category "1"

Vuning Cs401 Assignment

Question no. 1:

(a)  Assemble the following instructions and show the changes in given Accumulator register and flags after each instruction execution.                                                                                           (Marks 5)

MOV AL, 8Bh                       ; CF = ?, SF = ?, PF = ?, ZF = ?

ADD AL, 22h                         ; CF = ?, SF = ?, PF = ?, ZF = ?        

AND Al, 1000101b                ; CF = ?, SF = ?, PF = ?, ZF = ?

OR Al, 9Ah                            ; CF = ?, SF = ?, PF = ?, ZF = ?

XOR AL, 10101011b             ; CF = ?, SF = ?, PF = ?, ZF = ?

TEST AL, 2                            ; CF = ?, SF = ?, PF = ?, ZF = ?

CMP AL, 58                           ; CF = ?, SF = ?, PF = ?, ZF = ?

ADC AL, 11110000b             ; CF = ?, SF = ?, PF = ?, ZF = ?

SHR AL,2                               ; CF = ?, SF = ?, PF = ?, ZF = ?

Question no. 1 (b):                                                                                                                     (Marks 5)

Write a subroutine that can calculate the sum of an array and also save the result into DX.

( Array’s length is 20)

Question no. 2

Write an assembly language code to calculate the factorial of “7” using a subroutine and also attach the final snapshot of your AFD window.                       

                                                                                                                                                  ( Marks:10)

  • CS401 Recommended Book - Revolutionary Guide to Assembly Language by Jacov Izrailevich, Aleksandr Sopin, Semyon Lavin, Vitaly Maljugin

    CS401 Recommended Book - Revolutionary Guide to Assembly Language by Jacov Izrailevich, Aleksandr Sopin, Semyon Lavin, Vitaly MaljuginRevolutionary Guide to Assembly Language by Jacov Izrailevich,…

    By +~Malik~

    Nov 25, 2017

    11

  • CS401 Solved Final Term Papers By Moaaz.

    A.O.A To All Here i am uploading CS401 Final Term Papers By Moaaz For Final Term Papers Preparation...Please Remember Me In Your's Prayers... Thanks...

    By NAVEED (MCS)

    Jun 24, 2013

    173

  • CS401 final Term Solved objective, subjective, Quizez and Past Papers by Moaaz and many others,at One Place.

    /***** Keep Remember Me In Prayers *****/

    By R M Salman Saeed

    Mar 5, 2015

    153

  • CS401 Fall 2017 Final Term Papers Pattern & Questions 17 Feb 2018 to 28 Feb 2018 & Helping Material

    CS401 Fall 2017 Final Term Papers Pattern & Questions 17 Feb 2018 to 28 Feb 2018 & Helping Material

    By +~Malik~

    Feb 11

    93

  • Final Papers

    Share final papers of Cs401 for final exams

    By AroUsh sEhr

    Feb 10

    11

  • "CS401 - Computer Architecture and Assembly Language Programming" Assignment No.2  Upload.....

    Assignment No.2                                                                                    Dated:Jan 12, 18Dear Students,Assignment No.2 has been uploaded; its due date is Thursday, 18- January -2018.Note 1: Assignment will not be accepted via email in any case. Upload your assignment on…

    By + ✿αғιғα✿

    Jan 12

    2844

  • CS401 Assignment 2 SolutiON..!

    Hello...AsSalam U Alaikum...I hope U al r fi9 & ShinE like Star......Ya lygia solutiOn.... iB iss main Apna Apna VU ID  lgaa la ar SS ly lygiaAa....          [org 0x0100]jmp startmessage: db'BC000000000' ; string to be printedlength: dw 20 ; length of stringclrscr: push espush axpush cxpush…

    By ✨✨Aiyla✨✨

    Jan 19

    60

  • CS401 - Graded Discussion Board (GDB) will be opened on 25th January 2018

    Dear Students,Graded Discussion Board (GDB) of CS401 will be opened on 25th January 2018 and it will be closed on 26th January 2018.Graded Discussion Board TopicSemantic Structure reasoning at each step is required while writing a program of any language at any level. But high level languages claim…

    By Angry Bird

    Jan 20

    233

  • cs401 solved mega files collection of final Term past papers objective and subjective with reffrence of muaaz, sonu and many more,

     Keep Remember Me In Ur Prayers 

    By R M Salman Saeed

    Aug 18, 2014

    186

  • CS401 Assignment No 01 Solution & Discussion Due Date: 14-11-2017

    CS401 Assignment No 01 Solution & Discussion Due Date: 14-11-2017Dear Students,Assignment No.1 has been uploaded; its due date is Tuesday, 14-November-2017.Note 1: Assignment will not be accepted via email in any case. Upload your assignment on VU-LMS with in due date.Note 2: All times on…

    By +~Malik~

    Nov 7, 2017

    924

  • One thought on “Vuning Cs401 Assignment

    Leave a comment

    L'indirizzo email non verrà pubblicato. I campi obbligatori sono contrassegnati *