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:

Please note: You will get zero (0) marks if not submitting any one of the .s or .pdf files.

  1. The source code in the file CountVowelsOne.s
  2. The pdf file CountVowelsOne.pdf contains the following:
    • The source code in the file CountVowelsOne.s
    • 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


Copyright: Department of Computer Science, University of Regina.