Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The IBM 370 series computers have 32-bit words and perform 2's complement arithmetic: so too do Intel 80386, 80486, and Pentium computers. The IBM 370

image text in transcribed
The IBM 370 series computers have 32-bit words and perform 2's complement arithmetic: so too do Intel 80386, 80486, and Pentium computers. The IBM 370 series has sixteen 32-bit general purpose registers (R0, R15) and four double length (64-bit) floating point registers in its CPUs. Suppose IBM 370 registers R1 and R2 contain the following bit patterns in hexadecimal shorthand (express appropriate answers in hexadecimal shorthand too): (R1) = BCDFAF00 (R2) = 206E5640 a. Perform the following 2's complement fixed-point integer arithmetic operations and note whether magnitude overflow has occurred in each case. i) R3 = R1 + R2 ii) R3 = R1 - R2 b. Compute the following bit-by-bit logical operations and express your answers as 8-digit hexadecimal numbers: i) R3 = R1.AND.R2 = R1 R2 ii) R3 = R1.OR.R2 = R1 R2 iii) R3 = R1.XOR.R2 = R1 circledplus R2 iv) R3 = R1.XOR.R1 = R1 circledplus R1 v) R3 = NOT.R1 = R1 bar

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_2

Step: 3

blur-text-image_step3

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

Knowledge Discovery In Databases

Authors: Gregory Piatetsky-Shapiro, William Frawley

1st Edition

ISBN: 0262660709, 978-0262660709

More Books

Students also viewed these Databases questions