944,051 Members | Top Members by Rank

Ad:
Nov 3rd, 2009
-1

Write Code for Memory Crawler

Expand Post »
Please can anyone show me how to write a code for memory crawler(ddd) so the program makes one copy, transfers control to another copy, and terminates on reaching the end of the copy. I need to enter the code into the Machine Simulator and execute the program. I have the following instructions but i need to do changes on its so the program can work.
Address Contents Comments
00,01 2100 Initialize
02,03 2270 counters.
04,05 3109 Set origin
06,07 320B and destination
08,09 1000 Now move
0A,0B 3000 one byte.
0C,0D 2001 Increment
0E,0F 5101 addresses.
10,11 5202
12,13 2333 Do it again
14,15 4010 if more
16,17 B31A bytes to be
18,19 B004 moved.
1A,1B 2070 Adjust values
1C,1D 3071 that are
1E,1F 2079 location
20,21 3075 dependent.
22,23 207B
24,25 3077
26,27 208A
28,29 3087
2A,2B 2074
2C,2D 3089
2E,2F 20C0 Make sure
30,31 30A4 program
32,33 2000 will halt.
34,35 20A5
36,37 B070 Make the big jump
What are the changes i need to do on these instructions for the program to work?
Last edited by Aahd; Nov 3rd, 2009 at 10:15 pm.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Aahd is offline Offline
3 posts
since Oct 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Computer Science Forum Timeline: instruction set
Next Thread in Computer Science Forum Timeline: An introduction to algorithms





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC