.TITLE Test Scores ; This program will find the sum of two ; test scores for a group of three students ; Page 78, chapter 3 Test_Ave: .BLKW 3 Test_One: .WORD 20, 22, 27 ;First test scores Test_Two: .WORD 32, 30, 35 ;Second test scores .ENTRY TEST, 0 Begin: MOVAW Test_One, R6 ;R6 points to the array MOVAW Test_Ave, R7 ;R7 pints to the ave ADDW3 6(R6), (R6)+, (R7)+ ;Add the first two test scores ADDW3 6(R6), (R6)+, (R7)+ ;Add the second scores ADDW3 6(R6), (R6), (R7) ;Final addition Done: $EXIT_S .END TEST