Question: ` ` ` ; If myChar > ' Z ' , branch to notUpper ; Convert to lowercase ( add 3 2 to ASCII value
; If myChar Z branch to notUpper
; Convert to lowercase add to ASCII value
; Store the result back to myChar
; Output the character as a string from memory
; End program
Object Code untitled.pepo
C
Assembler Listing untitled.pepl
cand Comment
; Reserve byte for character input
are, ; Input the character from the console
har, d ; Load myChar into accumulator B
i ; Compare with AASCII
Jpper ; If myChar A branch to notupper
i ; Compare with ZASCII
Jpper ; If myChar Z branch to notupper
i : Convert to lowercase add to ASCII value
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
