
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Two lc-3 assembly language programming assignments. The first assignment requires writing and testing a program to calculate and print the sum of two double-digit hexadecimal numbers entered from the console. The second assignment involves writing and testing a program to calculate and print all fibonacci series numbers that can be stored in lc-3 words. Hints and instructions for each assignment, along with expected outputs.
Typology: Slides
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Show:
You can print out the values in hexadecimal rather than decimal to simplify your output algorithm. Hint: Testing for sign and shifting left, four times will identify the four bits of one hex character. Convert the character to ASCII and print it. Repeat this three more times to print the four hex characters of one number.
Show: