Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 10-16-2005, 07:22 PM   #1 (permalink)
Free Mars!
 
feelgood's Avatar
 
Location: I dunno, there's white people around me saying "eh" all the time
SPARC Assembly Language Assignment

I have an assignment and I've completed everything and it seems to work great. But I double checked my assignment sheet to make sure I followed everything correctly and it mentions the following:

Quote:
To verify that your program works, run version 1 and 3 under gdb, capturing output from each session using script. For version 1, single step through the program (use ni), displaying the instruction being executed (use display/i $pc). Also print out the contents of particular registers (use p) at key points in your program to show that it is working as expected. For version 3, set a breakpoint just after the place where the final result is calculated, and then print out the final result. Do not single step through this version.
Everything makes sense except for the script part. For some reason my professor italize that word and I'm left wondering if he's talking about writing a script for the marker to follow or program a script...

Any idea what he meant by that part? I would ask him personally but my class schedule prevents me from seeing him as well he's rather scary.
__________________
Looking out the window, that's an act of war. Staring at my shoes, that's an act of war. Committing an act of war? Oh you better believe that's an act of war
feelgood is offline  
Old 10-16-2005, 07:29 PM   #2 (permalink)
Adequate
 
cyrnel's Avatar
 
Location: In my angry-dome.
script [-a] filename

(should be /usr/bin)

Then exec on your merry way. Interaction up to EOF is saved in the file. No filename means you get "typescript" in the wd.

Good luck with the scary prof. I've been one of those.
__________________
There are a vast number of people who are uninformed and heavily propagandized, but fundamentally decent. The propaganda that inundates them is effective when unchallenged, but much of it goes only skin deep. If they can be brought to raise questions and apply their decent instincts and basic intelligence, many people quickly escape the confines of the doctrinal system and are willing to do something to help others who are really suffering and oppressed." -Manufacturing Consent: Noam Chomsky and the Media, p. 195
cyrnel is offline  
Old 10-16-2005, 07:35 PM   #3 (permalink)
Free Mars!
 
feelgood's Avatar
 
Location: I dunno, there's white people around me saying "eh" all the time
Ah, now I remember those thing, had to refresh my memory on Unix again.

Thanks
__________________
Looking out the window, that's an act of war. Staring at my shoes, that's an act of war. Committing an act of war? Oh you better believe that's an act of war
feelgood is offline  
 

Tags
assembly, assignment, language, sparc


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 01:30 PM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73