0% found this document useful (0 votes)
63 views

Assignment - 1116784844chapter One Assignment

This document provides an assignment to write a program to evaluate the arithmetic statement X=A-B+C*(D*E-F) using different computer architectures: a) a general register computer with three address instructions, b) a general register computer with two address instructions, c) an accumulator type computer with one address instructions, and d) a stack organizer computer with zero-address operation instructions. The document was compiled by Yonas A. and Hailemariam M. in 2010.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views

Assignment - 1116784844chapter One Assignment

This document provides an assignment to write a program to evaluate the arithmetic statement X=A-B+C*(D*E-F) using different computer architectures: a) a general register computer with three address instructions, b) a general register computer with two address instructions, c) an accumulator type computer with one address instructions, and d) a stack organizer computer with zero-address operation instructions. The document was compiled by Yonas A. and Hailemariam M. in 2010.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

An assignment for chapter one

Write a program to evaluate the arithmetic statement:


X= A-B+C*(D*E-F)
G+H*K

a)Using a general register computer with three address instructions


b)Using a general register computer with two address instructions
c)Using an accumulator type computer with one address instructions
d)Using a stack organizer computer with zero-address operation
instructions.
Examples

Compiled by Yonas A. and Hailemariam M.


2
[2010]
Compiled by Yonas A. and Hailemariam M.
3
[2010]
Compiled by Yonas A. and 4
Hailemariam M. [2010]
Compiled by Yonas A. and5
Hailemariam M. [2010]

You might also like