The Gateway to Computer Science Excellence
0 votes
151 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	T1
ADD	A
STORE	T2
MULT	T2
ADD	T1
STORE	Z

Give the arithmetic expression implemented by the fragment.

in CO and Architecture by Veteran (105k points)
retagged by | 151 views
+1

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

1 Answer

+2 votes
Best answer
$Z=[BC+A]^2+(BC)$
by Junior (735 points)
selected by
0
Kindly explain also

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
50,644 questions
56,531 answers
195,623 comments
101,350 users