Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Fill out the table of ALU Test Vectors below Radix (Format) Test ADD 0 0 ADD 0 + (-1) ADD 1 + (-1) ADD FF+

Fill out the table of ALU Test Vectors below

image text in transcribed

image text in transcribed

image text in transcribed

Radix (Format) Test ADD 0 0 ADD 0 + (-1) ADD 1 + (-1) ADD FF+ 1 ADD 40000000 +50000000 ADD 30000000+ (-7000000) SUB 0 - 0 SUB 0 - (-1) SUB 1 -1 SUB 1001 SUB 40000000 Decimal Hex Hex Hex Decimal ALUCtrl[1:0] | ALUFlags [3 :0] 00000000 O0000000 6voU boOU 00000000 FEFFFFFE FFFFFFF 00000001 TFFFFFF 000Od 00000OFF 40000000 DO000000 1 1 1 1 (-7000000) SUB-6000000 - (+5000000) AND AND AND AND ORR ORR 1 2 2 2 2 FFFFFEFE FFFFEFFE FFFFFFFF 12345678 12345678 8765 4321 00000000 EFEFFFFF FFFFFEFF 12345678 12345678 8765 4321 00000000 EEEFFFEF ORR ALUFlag bit name meaning Result is negative ZResult is zero C Result is carry out Result is overflow 0 Op Code ALU ContrStatusoperation bits ADD SUB AND ORR effects N, Z, C, V N, Z, C, V Add operands A and B (A+B), with carry out | Subtract operands A and B (AB), with borrow (NC) out 01 10 N. Z Logical AND of A and B (A&B) N. Z Logical OR of A and B (AIB)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications Dexa 2021 Workshops Biokdd Iwcfs Mlkgraphs Al Cares Protime Alsys 2021 Virtual Event September 27 30 2021 Proceedings

Authors: Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil ,Bernhard Moser ,Atif Mashkoor ,Johannes Sametinger ,Anna Fensel ,Jorge Martinez-Gil ,Lukas Fischer

1st Edition

3030871002, 978-3030871000

More Books

Students also viewed these Databases questions

Question

Wear as little as possible

Answered: 1 week ago