How to Convert Lowercase to Uppercase in MIPS Assembly Code

Written by suman medda
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Convert Lowercase to Uppercase in MIPS Assembly Code
There are two current implementations of the MIPS assembly code. (Jupiterimages/Photos.com/Getty Images)

The MIPS, or Microprocessor without Interlocked Pipeline Stages, assembly code was developed by MIPS Computer Systems. There are six major implementations of the code. The two current implementations are MIPS32 and MIPS64, which support 32-bit and 64-bit operating instructions, respectively. MIPS uses a two-character alphanumeric codes to represent different letters and characters such as operands. Unfortunately, there is not a simple command to change letters from lower case to upper case. Each letter must be changed manually.

Skill level:
Moderately Easy

Other People Are Reading

Instructions

  1. 1

    Open the MIPS code file.

  2. 2

    Locate the code containing the lower case letters. The letters "a" through "i" are represented by the numbers 61 to 69. The letters "j" through "o" are represented by 6A to 6F. The letters "p" through "y" are represented by 70 to 79. The letter z is represented by 7A.

  3. 3

    Subtract 20 from the representations of the letters "a" through "i" and "p" through "y." For example, lower case "a" is 61, and upper case "A" is 41. Lower case "p" is 70, while upper case "P" is 50. Change the first number for the representations of "j" through "o" from 6 to 4. For example, "j" is 6A, while "J" is 4A. Change "z" from 7A to 5A to get "Z."

Don't Miss

Filter:
  • All types
  • Articles
  • Slideshows
  • Videos
Sort:
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the eHow.co.uk site, you consent to the use of cookies. For more information, please see our Cookie policy.