Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Name: Date: 2 7 April 2 0 0 9 Number: EENG 4 1 0 / INFE 4 1 0 - MICROPROCESSORS I Midterm Exam
Name:
Date: April
Number:
EENGINFE MICROPROCESSORS I Midterm Exam
table
Instructor: Dr Hasan Demirel
Read the Following Instructions Carefully:
The duration of the exam is strictly minutes. No extra time will be given.
Answer each question to a separate sheet on your answers booklet.
Return the question sheet along with your answers booklet.
QUESTIONS
What will be the values of the specified registers and flags after the execution of the following instructions?b MOV AXFEHMOV CXCHSHL AH CLSBB AX CXAX CXCF PF AF SF ZFc Write a sequence of instructions that counts number of s in registers AX and BX Then, the content of the register with the higher number of s is copied into register DX Write the definition of a subroutine which would Capitalize Each Word in a given sentence in the following data segment. Note that, in a capitalized word, only the first letter is uppercase and rest of the letters is lowercase.Hint: Lowercase characters are ordered between a H and z AH in the in the ASCII Code table. For lowercase letters, bit d of the ASCII code is where for uppercase letters it is For example,
tableLetterBinary,ASCII
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started