Question: Modify the flowchart of Fig. 6-2 to include an error message when a symbolic address is not defined by a label. Fig. 6-2 Set first

Modify the flowchart of Fig. 6-2 to include an error message when a symbolic address is not defined by a label.

Fig. 6-2

Set first bit to 1 Get operation code and set bits 2-4 Search address- symbol table for binary equivalen of

Set first bit to 1 Get operation code and set bits 2-4 Search address- symbol table for binary equivalen of symbolic address and set bits 5-16 Yes No Second pass Scan next line of code Set first bit to 0 Yes Assembley all parts of binary instruction and store in location given by LC LC +0 Pseudo- instruction No MRI Yes No Valid non-MRI instruction Yes Store binary equivalent of instruction in location given by LC Set LC Yes ORG No No Error in line of code DEC or HEX Done Increment LC Yes End No Convert operand to binary and store in location given by LC

Step by Step Solution

3.51 Rating (161 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To modify the flowchart in Fig 62 to include an error message when a symbolic address is not defined ... View full answer

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 Computer System Architecture Questions!