Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a hypothetical computer which supports a ternary (or base-3) number system. In representation, the digits used to form a base-3 number are only 0,1

image text in transcribed

Consider a hypothetical computer which supports a ternary (or base-3) number system. In representation, the digits used to form a base-3 number are only 0,1 and 2. For example, obviously we have (10) 10 = (101)3 and (100)10 = (10201)3 for unsigned numbers. In order to also support signed numbers, your task is to apply the idea of two's complement in binary representations to design a three's complement scheme for n-digits signed ternary numbers (only for negative numbers), so that we carn also reuse the adder unit in ALU for subtraction. You should give an encoding rule just like the "flip-bits-plus-one" rule for two's complement. Then calculate the range of numbers that can be represented by this scheme if n 4 12 (Hint: Starting with a similar mathematical property like two's complement the sign digit is still the most significant one, but both 0 and 1 can be fora positive value and both 1 and 2 can indicate a negative value.)

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

Pro PowerShell For Database Developers

Authors: Bryan P Cafferky

1st Edition

1484205413, 9781484205419

More Books

Students also viewed these Databases questions

Question

LO1 Understand human resource management and define human capital.

Answered: 1 week ago