Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 3: You will find an introduction to TLC: the Tiny Little Computer here: The sample program on that page is the positive difference program

Part 3: You will find an introduction to TLC: the Tiny Little Computer here: The sample program on that page is the "positive difference" program presented in class. Using the "Save" button in the middle of the page, save the sample program to your browser's local storage.

Switch to the assembler tab. You will find the sample program saved as "posdiff" and selectable in a drop-down at the top left. Select it and click "Load." Click the "Assemble" button at the top center of the page to assemble the source program. You will get a listing in the right hand panel of the page.

Switch to the "Virtual Machine" tab and load the assembled program. Click "Run" and type two numbers less than 2047 when prompted. Experiment with the clock speed slider. Click "Reset," load the program again, and experiment with the "Step" button.

The only thing to turn in for this part is a statement of the two numbers you used and the two values in locations 0A and 0B of the memory when your program ends.

Part 4: Design a program that uses looping to display the odd numbers counting from 5 to 17 using the LMC / TLC instruction set. The program must halt after displaying 17. Write and turn in as the answer to this part the pseudo-code for your solution.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Understanding Oracle APEX 5 Application Development

Authors: Edward Sciore

2nd Edition

1484209893, 9781484209899

Students also viewed these Databases questions