lab5 - command was called in the original program. They...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Abstract This lab was meant to teach the students how to convert the simulator code into code that is useable on the hardware (SBC). This requires the command try to be replaced with code which allows the I/O devices to work along with the hardware. To make sure this was done correctly the lab asked for the first lab, which was given to be converted into a lab that could use polled ACIA protocol. Procedure The Lab requires very little work to be done on it, the program itself is to convert lowercase characters to uppercase characters; exactly what lab one does. The only bit of programming required is to change the try command into subroutines which does the same tasks. They’re three subroutines that are needed, one to take in a string, one to print out a string and one to print out a character. They all are to be jumped to where they try
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: command was called in the original program. They execute the given function and then theyll jump back to the original program. Other then those three major changes there isnt really much else to do in the lab. Conclusion This lab was very effective in showing how to make a program run on the hardware (SBC) rather then the simulator. However it was not so easy to translate programs from one to the other. Where the user can easily debug in the simulator where the user can constantly see where the program malfunctions and can fix it. However when the program moves to the hardware the command will not execute in the simulator thus the only way to remotely tell what is going on is to use the hardware which is not always available to the user. Making the work much more time consuming and harder for the user on the given basis....
View Full Document

This note was uploaded on 04/17/2008 for the course CE 0306-250-0 taught by Professor Melton during the Fall '07 term at RIT.

Page1 / 2

lab5 - command was called in the original program. They...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online