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.
Consider the following problem: Given the ASCII code of a character in R0, convert the character to lowercase...
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am