x4000 'B' x4001 'e' x4002 'c' x4003 'k' x4004 'e' x4005 'r' x4006 x0000 x4007 #94 x4008 #73 x4009 'N' x400A 'i' x400B 'c' x400C 'h' x400D 'o' x400E 'l' x400F 's' x4010 x0000 x4011 #66 x4012 #53 x4013 x0000Your program should display this output:
Becker Exam1: 94 Exam2: 73 Average: 83 Nichols Exam1: 66 Exam2: 53 Average: 58The format of your output should look just like the given example.
Becker Exam1: Exam2: Average: Nichols Exam1: Exam2: Average:
Becker Exam1: 094 Exam2: 073 Average: Nichols Exam1: 066 Exam2: 053 Average:You are welcome to make use of the code on page 277 in the text when designing your binary-to-ASCII conversion.
Becker Exam1: 94 Exam2: 73 Average: Nichols Exam1: 66 Exam2: 53 Average:
If a register will be used for a specific purpose throughout the program, that register's purpose should be noted in the introductory comments. For example,
; Register Usage ; R4 - address of word currently being processed in database ; R5 - holds the sum of the student's exam scores
GetString ldr r0, r4, #0 ; R0 contains character to be copied
; this loop will copy the name of the opponent into StringBuf
add r3, r3, #1 ; point to next location in StringBufrather than
add r3, r3, #1 ; add 1 to R3
hw4.asm
contains the assembly language code for your program. studentdata.asm
contains sample data you used to test your program.
Using web-based turnin
submit your LC-3 source files before 11:59pm on Tuesday, Dec 4.