Question: Task 1 (50 points): Manually type the following text into a file on your Red Hat Linux account and name it micro1.dat. Try your best

 Task 1 (50 points): Manually type the following text into a

Task 1 (50 points): Manually type the following text into a file on your Red Hat Linux account and name it micro1.dat. Try your best NOT to simply copy/paste as you may get weird problems (see the end of next page). Note the st's are not in the first column. As explained in class, any line that starts with a non-blank character in the first column is treated as comment. A completely blank line is also treated as comment. ** **** *** ECE 5362 **** **** Machine Problem 1 **** **** Your Name **** *************************** *** Start fetch_cycle *** st=0 rt='[pc]-> mar' imar rac=1 rn=3 st=1 rt='[[mar]]-> mdr' read st=2 rt='[mdr) -> ir' omdr iir st=3 rt='[pc]+1 ->.q' rac=1 rn=3 ib pl oadder st=4 rt='[q] -> pc' og wac=1 wn=3 cond='ir158' value=0 nst=10 cond='ir1512' value=o nst=70 nst=10 *** *** If any instructions are present except HALT OG INC, a halt will occur. *** HALT execution cycle *** st=10 halt *** INC AC execution cycle *** st=70 rt='[ac] + 1 -> q' rac=1 rn=0 ib p1 oadder new newc st=71 rt='[q] -> ac' og wac=1 wn=0 newz newn nst=0 Now you need to type in a test program. For this machine, an INC AC is 0x0200 and a HALT is 0x0000. Take the last digit of your OSU.x email ID (If your last digit is 0 use 10). Your personalized test program should have that many INC AC instructions followed by a HALT. Your test program should look like: Task 1 (50 points): Manually type the following text into a file on your Red Hat Linux account and name it micro1.dat. Try your best NOT to simply copy/paste as you may get weird problems (see the end of next page). Note the st's are not in the first column. As explained in class, any line that starts with a non-blank character in the first column is treated as comment. A completely blank line is also treated as comment. ** **** *** ECE 5362 **** **** Machine Problem 1 **** **** Your Name **** *************************** *** Start fetch_cycle *** st=0 rt='[pc]-> mar' imar rac=1 rn=3 st=1 rt='[[mar]]-> mdr' read st=2 rt='[mdr) -> ir' omdr iir st=3 rt='[pc]+1 ->.q' rac=1 rn=3 ib pl oadder st=4 rt='[q] -> pc' og wac=1 wn=3 cond='ir158' value=0 nst=10 cond='ir1512' value=o nst=70 nst=10 *** *** If any instructions are present except HALT OG INC, a halt will occur. *** HALT execution cycle *** st=10 halt *** INC AC execution cycle *** st=70 rt='[ac] + 1 -> q' rac=1 rn=0 ib p1 oadder new newc st=71 rt='[q] -> ac' og wac=1 wn=0 newz newn nst=0 Now you need to type in a test program. For this machine, an INC AC is 0x0200 and a HALT is 0x0000. Take the last digit of your OSU.x email ID (If your last digit is 0 use 10). Your personalized test program should have that many INC AC instructions followed by a HALT. Your test program should look like

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!