Podcast
Questions and Answers
What is the purpose of the machine problem stated in the exercise?
What is the purpose of the machine problem stated in the exercise?
What is the total score of the bonus exercise?
What is the total score of the bonus exercise?
What is the deadline for the submission of the bonus exercise?
What is the deadline for the submission of the bonus exercise?
What is required in the front page of the answer sheet?
What is required in the front page of the answer sheet?
Signup and view all the answers
What is required to be handwritten in the answer sheet?
What is required to be handwritten in the answer sheet?
Signup and view all the answers
What is the consequence of submitting identical/similar answers or answers copied from other sources?
What is the consequence of submitting identical/similar answers or answers copied from other sources?
Signup and view all the answers
What is the purpose of the 'cmp al,'A'' instruction?
What is the purpose of the 'cmp al,'A'' instruction?
Signup and view all the answers
What is the function of the 'int 21h' instruction?
What is the function of the 'int 21h' instruction?
Signup and view all the answers
What is the purpose of the 'lea dx,upper' instruction?
What is the purpose of the 'lea dx,upper' instruction?
Signup and view all the answers
What is the function of the 'call show' instruction?
What is the function of the 'call show' instruction?
Signup and view all the answers
What is the condition for the 'jb low' instruction to be executed?
What is the condition for the 'jb low' instruction to be executed?
Signup and view all the answers
What is the purpose of the 'mov ax,@data' instruction?
What is the purpose of the 'mov ax,@data' instruction?
Signup and view all the answers
What is the function of the 'ret' instruction?
What is the function of the 'ret' instruction?
Signup and view all the answers
What is the purpose of the 'mov dx,offset prompt' instruction?
What is the purpose of the 'mov dx,offset prompt' instruction?
Signup and view all the answers
Study Notes
Instructions for Bonus Exercise
- The exercise is on Conditional Jump/INT 21H.
- Use a single long size bond paper (8.5” x 13”) for the answer sheet.
- Only use blue/black ball pen for handwritten solutions.
- Use liquid eraser/correction tape for erasures.
- Present solutions clearly and neatly to avoid penalties.
- No identical or similar answers or answers copied from other sources will be accepted.
Machine Problem Requirements
- Write an 8088-assembly language program that asks the user to enter a letter.
- If the entered letter is in lowercase, the program will convert it to uppercase (vice versa) and display the converted letter.
- The program will also display the next 5 characters of the given letter (based on the ASCII table).
- The program must execute again if the user wants to continue.
Submission Requirements
- Submit an algorithm/pseudocode (handwritten).
- Include source code with comments (computerized, compressed).
- Provide screenshots of sample runs.
Answer Sheet Format
- Use a single long size bond paper (8.5” x 13”) in portrait orientation.
- Front page contains the source code and sample run.
- Back page contains the algorithm.
Sample Code
- The sample code determines if the entered character is a letter, digit, or special character.
- It uses conditional jump instructions.
Source Code Explanation
- The source code uses model small and a stack size of 100h.
- It defines data for prompts, uppercase, lowercase, digit, and special character messages.
- The code section starts with initializing the data segment and displaying a prompt to enter a character.
- It then requests input, checks the character type, and displays the corresponding message.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
A bonus exercise on conditional jump and INT 21H in computer organization and architecture, covering concepts and solutions for CS 2619 students.