Question: 08 is not given Question 2] Machine Language Programming Iproblem 7.27 & 7.281 and Op code and the last two digits to the operand memory
08 is not given
Question 2] Machine Language Programming Iproblem 7.27 & 7.281 and Op code and the last two digits to the operand memory location. (From page 327/328) The Op.codes are the sht system, the first two digits refer to the READ 10, WRITE LOAD 20: STORE 21, ADD 30; SUBTRACT 31, DIVIDE 32, MULTIPLY 33; BRANCH 40, BRANCHNEG 41, BRANCHZERO 42 HALT 43; in the following machine language program, starting at memory 00 1008 Read A 01 1007 Read B 2007 3108 2111 4300 Halt 0011 -9999 xxocx a) In the above, does the program terminate or loop back at the Halt instruction? Ans- .b) After the program is run starting from location 00, A and B values are 44 and 77. What are stored in locations 07, 08, 09, 10, and 11. Contents of locations 07_08_ 09 c) If contents of location 03 are changed from 3108 to 3008 repeat part (b) above with A 77 and B 44 844.11 Contents of locations 07__ 09 10 .d) Functional memory initialization C program for the above SML system is as shown. for (k-20; k
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
