Consider the following problem: Given the ASCII code of a character in R0, convert the character to lowercase...
Posted: Mon Jun 06, 2022 4:28 pm
Consider the following problem:
Given the ASCII code of a character in R0, convert the character
to lowercase...
Given the ASCII code of a character in RO, convert the character to lowercase, leaving any non-alphabetical characters unchanged and returning the result in R1. ...for example, if RO contains 'A', then R1 should contain 'a'. Conversely, if RO contains 'b' or '1', then R1 should also contain 'b' or '1', respectively. Give LC-3 assembly code for a subroutine to perform this computation.
Given the ASCII code of a character in R0, convert the character
to lowercase...
Given the ASCII code of a character in RO, convert the character to lowercase, leaving any non-alphabetical characters unchanged and returning the result in R1. ...for example, if RO contains 'A', then R1 should contain 'a'. Conversely, if RO contains 'b' or '1', then R1 should also contain 'b' or '1', respectively. Give LC-3 assembly code for a subroutine to perform this computation.