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

What is the advantage of using jfet as an amplifier, Q. What is the advanta...

Q. What is the advantage of using JFET as an amplifier? As an amplifier of small time-varying signals, the JFET has a number of valuable assets. First of all it has a very high

Show the overall output limitations of speed control, Q. Show the Overall o...

Q. Show the Overall output limitations of Speed Control? The overall output limitations are as shown in Figure. With base speed defined as the full-field speed of themotor at t

Determine the circuit of three transistors dynamic ram cell, a. Determine t...

a. Determine the circuit of three transistors dynamic RAM cell and define briefly read and write functions. b. Write short note on factors influencing choice of layer for wiring

Circuit 1, draw a graph of V=IR for R=300ohms over the domain -3mA

draw a graph of V=IR for R=300ohms over the domain -3mA

Auxiliary carry fla - registers, Auxiliary Carry Fla - Registers If ca...

Auxiliary Carry Fla - Registers If carry  is generated  from D 3   to D 4 in the accumulator after any arithmetical or logical  operations. Auxiliary  carry flag (AC) is set

Customer service management, Customer Service Management CRM involves ...

Customer Service Management CRM involves several activities related to planning - both long terms and short terms, measurement and control, improvement and innovation of all a

What is output impedance, Q. What is Output Impedance? Output Impedance...

Q. What is Output Impedance? Output Impedance : The output impedance of an amplifier is a measure of the impedance or resistance. It has nothing to do with the actual loading t

Determine the input current and input voltage, Q. A 100-kVA, 2300:230-V, 60...

Q. A 100-kVA, 2300:230-V, 60-Hz, single-phase transformer has the following parameters: R 1 = 0.30 , R 2 = 0.003 , RC 1 = 4.5k, X 1 = 0.65 , X 2 = 0.0065 , and Xm 1 = 1.

What is permeability, What is Permeability? Permeability: This is defin...

What is Permeability? Permeability: This is defined as the ability of the material to conduct flux. This is defined as the ratio of magnetic flux 'B' in a medium to the magneti

Explain fundamentals of load flow analysis, Explain Fundamentals of Load Fl...

Explain Fundamentals of Load Flow Analysis The calculation of electrical power system load flow or current flow is a problem which has no direct solution. It is not that a solu

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