The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
64 views

The following program fragment was written in an assembly language for a single address computer with one accumulator register:

LOAD B
MULT C
STORE T$_1$
ADD A
STORE T$_2$
MULT T$_2$
ADD T$_1$
STORE Z

Give the arithmetic expression implemented by the fragment.

asked in CO & Architecture by Veteran (98.7k points)
retagged by | 64 views
+1

[A+(B*C)]2 + (B*C)

1 Answer

0 votes

z=[(BC)+A]^2+(BC)

answered by (281 points)

Related questions



Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

37,104 questions
44,683 answers
127,203 comments
43,742 users