Representation of negative number, Electrical Engineering

Assignment Help:

Representation of Negative Number:

As  mentioned  in chapter 1 in 8085  negative  numbers are represented in 2 complement  form  and subtraction is  performed  using 2  complemented  method.  If the  result of subtraction is negative  it will also  be in 2 complement  form. But  D7 ( left most bit) is used  to indicate sign  of a number. If D7  is 0 the number  is positive  and if D7  is 1  the number is negative D7  is 1 for  2 complement of  all D7 bit  numbers.

Important : Generally  people  have misconnect that the  difference  between a positive  number and a  negative  number is only in  D7.  They assume that if  +5 10 is  written  in 8 bit  binary as 00001012 then -510  can be  written  as 10000102, which  is not  correct.

Refer followings  table  showing various  positive  and negative numbers to understand the concept  of negative  number as used  in microprocessors.

a.All negative numbers have 1 in  their left  most bit positions.

b.All negative  numbers are 2  complement  form  of their  corresponding  positive  numbers.

c. All negative  have their  equivalent positive  decimal number. It is up to the programmer  and the  application that whether  to use it as  negative or positive number.

d.If two numbers are added/ subtracted the  result will be as desired whether is a singed  or unsigned operation. See  followings  example.


Related Discussions:- Representation of negative number

Simplest equivalent circuit topology using lumped elements, Simplest equiva...

Simplest equivalent circuit topology using lumped elements: For each of the Smith chart traces below, sketch (at the right of each chart) the simplest equivalent circuit topol

Matrix, create a matrix of 5x6. with identical columns and rows ranging fro...

create a matrix of 5x6. with identical columns and rows ranging from 200 to 1000 in equal increments

Determine vout and the power supplied, Q. An operational amplifier stage is...

Q. An operational amplifier stage is typically represented by the circuit of Figure. For the values given, determine V out and the power supplied by the 2.5-V source.

Low pressure gas hazards, Low Pressure Gas Hazards : Safety screens and wi...

Low Pressure Gas Hazards : Safety screens and wire-mesh guards should be placed round evacuated glassware and safety goggles or a face shield must be worn against the possibility

Determine the slip at which maximum torque, A three-phase, 220-V, 60-Hz, fo...

A three-phase, 220-V, 60-Hz, four-pole, wye connected induction motor has a per-phase stator resistance of 0.5 . The following no-load and blocked rotor test data on the motor are

Microelectronic design, Describe, using a flow diagram, the IC design proce...

Describe, using a flow diagram, the IC design process indicating the CAD tools that could be used at the various levels.

Determine the turns-ratio for the transformer, a) A 230 V/25V, 50 HZ transf...

a) A 230 V/25V, 50 HZ transformer with a rated primary current of 1,2 Amps is used to supply a number of 25 V, 30 Watt halogen light bulbs. Assuming an ideal transformer and that

Three-phase Portable Bench Power Supply, hi can you help me to create a dc...

hi can you help me to create a dc to 3 phase ac circuit which can exceed at any point: 50V and 20A and 400W maximum. The output should be variable from about 0 – 25V per phase, wi

Define the objectives of load flow analysis, Define the Objectives of Load ...

Define the Objectives of Load Flow Analysis The objectives of load flow analysis are: (i) To analyse an existing power system, future expansion or a new power system plan.

Example of binary subtraction of negative number , Example of binary subtra...

Example of binary subtraction of Negative number Case 2.   Negative number is more than  the positive number ( i e, answer  is negative)  Example : Subtract 92 10 ( 101

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd