This preview shows page 1. Sign up to view the full content.
Unformatted text preview: s ugges t us ing the graphic al s imulator to begin with, as this may be a more intuitive
way to debug y our c ode. However, the graders will be running y our c ode in the c ommand line s imulator, s o be s ure y our program
work s in the c ommand line s imulator! (although if it work s in one, mos t lik ely it will work in the other)
To run your code in the Gra phica l sim ula tor:
1. W hile s till in the folder where y our c ode is loc ated, ty pe in lc3sim -tk. (NOTE: do not enter any .obj files after the c ommand.
we will load them momentarily ins ide the s imulator)
2. On the bottom of the editor, it has a tex t bar that is labeled "File to Load". Clic k on the Brow se button loc ated right nex t to
this tex t bar
3. Selec t the file num be rs.obj, and c lic k Ope n. (NOTE: Loading the files in the right order matters , s o be s ure to load
numbers .obj firs t)
4. A pop-up box may appear that reads : "W ARNING: No s y mbols are available". This is fine, jus t c lic k OK if this pop...
View Full Document
This document was uploaded on 03/22/2014.
- Fall '14