tailieunhanh - Lab LC3 C

MODERNIZED PROGRAM INTRODUCTION TO COMPUTING SYSTEM COURSE LC3 & C PROGRAMMING LAB REQUIREMENTS | MODERNIZED PROGRAM INTRODUCTION TO COMPUTING SYSTEM COURSE LC3 C PROGRAMMING LAB REQUIREMENTS Present at lab room on time. Create a subdirectory studentname_code in the D Clabs directory and save all your files inside it. You can create further subdirectory labn n is the lab index. Try to do all questions step by step. Show all your results to TA at the end of the lab. LAB 0 EDITING COMPILING AND SIMULATING LC3 PROGRAMS Exercise 1 Write and simulate a program using the LC-3 Assembly language - Input 1 lowercase ASCII letter between a and z - Change lowercase ASCII letter to uppercase ASCII letter. - Output them on screen. Exercise 2 Write and simulate a program using the LC-3 Assembly language - Input 1 characters between A and Z and 1 positive number between 0 and 9 . - Output them on screen. Exercise 3 Write and simulate a program using the LC-3 Assembly language - Input 3 bits A B and C. - D A BC - Output the result on screen. Exercise 4 Write and simulate a program using the LC-3 Assembly language - Input 2 unsigned integers between 0 and 9 . - Compute the summation between these numbers. - Output the result on screen. Exercise 5 Write and simulate a program using the LC-3 Assembly language - Input 2 unsigned integers between 0 and 9 . - Multiply two positive numbers. - Output the result on screen. Exercise 6 Write and simulate a program using the LC-3 Assembly language - Input 2 unsigned integers between 0 and 99 . - Compute the summation between these numbers. - Output the result on screen. Exercise 7 Write and simulate a program using the LC-3 Assembly language - Input 2 unsigned integers between 0 and 99 . - Compare these numbers. - Output the result on screen. Ex The result is 54 37

TỪ KHÓA LIÊN QUAN