Return To CS 301 Lab Home

Colour Theme   Font Size Options
 
   
   
   

Flow Control Instructions

Objective of this lab:


	To explore ARM branch instructions and implement them in ARM uVision5 

Preparation


	Read lab lecture notes.

Lab Assignment

Assignment#1:

Write an ARM assembly language program CountVowelsOne.s to count how many vowels and how many non-vowels are in the following string.
	"ARM assembly language is important to learn!",0	

Recommendations for writing the program:


You will hand in the following:

  1. The source code in the file CountVowelsOne.s
  2. The pdf file CountVowelsOne.pdf contains the following:
    • The screenshot (print screen) to show the program has been successfully built
    • The screenshot showing the number of vowels in R1 and non-vowels in R2
    • The source code in the file CountVowelsOne.s


Copyright: Department of Computer Science, University of Regina.