[SOLVED] CMPE230-Systems Programming: Project 1

20.99 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

5/5 - (1 vote)

In            this         project, you        will         implement          an           A86        assembly             language              program that        will         input     postfix  expression          involving              hexadecimal      quantities            and        evaluate it.            After     evaluation,         the         result    should  be           output.                 Here      are         some     example inputs   to            the         program               and        the         outputs generated:

 

input output
2              3              +                4              5                +             *                2              / 16
A             B             C                +             2                +             * FA
1              2              4                +             +                FFFF       ^ FFF8

 

The         following                             operations          will         be           supported.

 

operation                symbol meaning
+ addition
* multiplication
/ integerdivision
^ bitwise xor
& bitwise and
| bitwise or

 

You         can         make     the         following             assumptions:

  • The input     tokens  are         separated           by           a              blank
  • The postfix  expression          given     is             syntactically
  • All values   and        results  of            operations          will         be           16           bit
Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.