3 votes 3 votes Consider the following one address instruction for a hypothetical processor implementing a function: MOVE x MUL x STORE z MOVE x MUL A ADD z ADD B STORE y Which of the following values represents the value of the function if $A = 7, B = 6$ and input value $x={10}_{16}$ (Hexadecimal)? $347_{10}$ $176_{10}$ $167_{10}$ $374_{10}$ CO and Architecture go2025-coa-1 easy assembly + – gatecse asked Aug 3, 2020 gatecse 330 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 6 votes 6 votes We get the equation: $y = x^2 + Ax + B$, and $A = 7$ and $B = 6$ so, the equation become $y = x^2 + 7x + 6$ Input value in decimal $= 16 \implies y = 374.$ So, Option D gatecse answered Aug 3, 2020 • selected Jul 31, 2021 by Arjun gatecse comment Share Follow See all 3 Comments See all 3 3 Comments reply reboot commented Jan 13, 2021 reply Follow Share sir does ‘move’ instruction here loads the values into Accumulator? What if i would have done Load x instead of Move x. 0 votes 0 votes Dheeraj Varma commented May 22, 2021 reply Follow Share See in question, x seems like one of the registers and not a memory address. So, Move x makes sense. Load x is used if x is a memory address ie., loading from memory to one of the registers or accumulator. 0 votes 0 votes Pranavpurkar commented Jan 2, 2023 reply Follow Share Where is the value of z added in the equation? 0 votes 0 votes Please log in or register to add a comment.
4 votes 4 votes . MANSI_SOMANI answered Aug 16, 2022 MANSI_SOMANI comment Share Follow See all 0 reply Please log in or register to add a comment.