1 votes 1 votes The size of the instruction in a single accumulator is 16 bits. In order to evaluate the expression Y = A-B+C / E+F , how much memory space is required to store the program? a) 18 bytes b)24 bytes c)22 bytes d)20 bytes Vinayak Suresh asked Dec 1, 2015 • recategorized Dec 1, 2015 by Vinayak Suresh Vinayak Suresh 1.4k views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply Vinayak Suresh commented Dec 1, 2015 reply Follow Share Since each instruction is 16 bits, 16/8 = 2 bytes. Instructions: Load E Add F Store T Load A Sub B Add C Div T Store Y In this way we have 8 instructions. Therefore, 8*2 = 16 bytes. What is wrong with this answer guys? 0 votes 0 votes srestha commented Dec 2, 2015 reply Follow Share I think it will be C/E .Not (A-B+C) /( E+F) 0 votes 0 votes Please log in or register to add a comment.
1 votes 1 votes Since each instruction is 16 bits, 16/8 = 2 bytes. Instructions: Load E Add F Store T Load A Sub B Add C store P Div T Store Y In this way we have 8 instructions. Therefore, 9*2 = 18 bytes. jugnu1337 answered Dec 5, 2021 jugnu1337 comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Load C Div E Add F Add A Sub B Store Y there will be 2 Bytes Ans will be 7*2 =14 Bytes srestha answered Dec 2, 2015 srestha comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes 16 bit = 2byte Instructions: Load E Add F Store T Load A Sub B Add C store P Div T Store Y total instruction 9 so 9*2 = 18 byte option A is true jugnu1337 answered Dec 5, 2021 jugnu1337 comment Share Follow See all 0 reply Please log in or register to add a comment.