Problem 6: Assembly Language

15.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You'll get a download link with a: txt solution files instantly, after Payment

Securely Powered by: Secure Checkout

Description

5/5 - (1 vote)

Write a complete assembly program that evaluates the following IF statement:

IF (A – B) 10, 20, 30

The program branches to statement 30 if A – B < 0 and performs an NAND operation over

A and B.

The program branches to statement 10 if A — B 0 and performs and a logical shift right

operation over A and performs a complement operation over B.

The program branches to statement 20 if A — B > 0 and performs a subtract operation over

A and B.

  • PROGRAM6.txt