166k views
1 vote
This will give you experience writing and using subroutines.

Create your own original assembly language program, using input and output. Once it runs, save your file as an *.asm file, and submit your name, your *.asm file, a short explanation of what it does in the machine and a screenshot of the final state of the LC-3 in a PDF or word document. Please include a list of any modifications made to the start state of the LC-3 if applicable.

User JayPea
by
8.8k points

1 Answer

2 votes

Final answer:

The question involves writing an LC-3 assembly program using subroutines, input, and output, reflecting a college-level computer science or engineering assignment.

Step-by-step explanation:

The question asks for the creation of an assembly language program involving subroutines, input, and output. This task is typically given in a college-level course on systems programming or computer architecture. Assembly language programming is a low-level programming discipline where you write instructions directly for the CPU. The LC-3 is a teaching computer model used in educational settings to help students understand basic computer operations and architecture.

An example program could involve subroutines for reading numbers from the user, performing arithmetic, and then displaying the result. The *.asm file would contain the assembly code, while the PDF or Word document would provide a narrative explaining what each section of the program does. A screenshot of the LC-3 simulator after executing the program would show the final state of the registers and memory, and any changes to the initial state of the simulator would be documented.

User Anil Konduru
by
7.7k points