Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
