Home /UOG — University of Gujrat /Computer Organization and Assembly Language

Computer Organization and Assembly Language UOG — University of Gujrat 2024

Computer Organization and Assembly Language UOG — University of Gujrat 2024 — page 1

Discussion

Ask a question about this paper, or help someone else with theirs. Answers are emailed to whoever asked.

Your email is only used to send you replies and occasional Ustadni updates. It is never shown publicly.

Log in to post under your name

No questions yet — be the first to ask.

Need Paper? See all →

Need a paper or stuck on a question? Ask here — students reply and you get an email.

Ask about a paper
  • Bushra· 21 hours ago

    BS Islamic Studies, 5th semester, ISL-511 Translation of Holy Quran (3) — Government College University Faisalabad (GCU…

    0 replies Reply →
  • Khadija· 2 days ago

    Civics course code GCCE101

    1 reply Reply →
  • Tasddaq hussain· 2 days ago

    BS 4the semester2025 civics and community engagement past paper According UOs

    0 replies Reply →
  • Humna Khan· 3 days ago

    Bs public administration 1st semester mid term past papers

    0 replies Reply →
  • Rania· 3 days ago

    BS English from uni of Sargodha Functional English, history of old English literature, literary devices and genres,

    0 replies Reply →
Ad

Paper text

UNIVERSITY OF GUJRAT

Final Term Exam Spring 2024

Course Code: CS-255

Course Title: Computer Organization & Assembly Language

Time allowed: 2 Hours and 30 minutes

Total Marks: 50

Student Name: Fizza

Roll No.:

SUBJECTIVE

All questions are necessary to attempt and marks for each question are mentioned against it.

Q.1. Create an assembly language code which will do following tasks using procedures.

(10 Marks)

Prompt the user to input a positive number in the main function. This number will then be pushed onto a

stack. A separate user-defined function will pop this number from the stack and determine whether input

number is prime or not.

Q.2. Compare Reduce Instruction Set Computer and Complex Instruction Set Computer? Also discuss the

advantages of RISC and CISC Structures that are used to design microprocessors?

(10 Marks)

Q.3. Write an assembly language code which will do following tasks.

(10 Marks)

Open a file for input and create an output file, read the input file, and saved its contents to a new created

output file. Make the input buffer small -about 256 bytes- so the program uses loop to repeat the call to

read and write functions as many times as necessary.

Q.4. Discuss the internal structure of Bus Interface Unit and Execution Unit of Intel 8086 microprocessor

with detail, which are responsible for enabling communication between the Execution Unit and the

memory or I/O circuits and execution of instruction respectively?

(10 Marks)

Q.5. Print following arrangement of character (*) using Nested Loop in assembly language. User defined

string data must be for ONLY one character (*).

(10 Marks)

*******

*****

***

*