The Cyber-Spy.Com Usenet Archive Feeds Directly
From The Open And Publicly Available Newsgroup
This Group And Thousands Of Others Are Available
On Most IS NNTP News Servers On Port 119.
Cyber-Spy.Com Is NOT Responsible For Any Topic,
Opinions Or Content Posted To This Or Any Other
Newsgroup. This Web Archive Of The Newsgroup And
Posts Are For Informational Purposes Only.
From: "Thomas Magma"
References: <email@example.com> <firstname.lastname@example.org> <3DAF907C.54D0567F@webaccess.net>
Subject: Re: DSP 2's complement vs straight binary
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
Date: Fri, 18 Oct 2002 05:07:30 GMT
NNTP-Posting-Date: Thu, 17 Oct 2002 23:07:30 MDT
Organization: Shaw Residential Internet
OK I see the light. Sorry for my ignorance. Let me try to explain my
stupidity. A long time ago I had written some software that converted lets
say the value 7 binary to the value 7 two's compliment. 7 being 00000111 in
binary and 11111001 in 2's compliment. You can see that this is not simply
inverting the MSB. But I now see that inverting the MSB does offset a
straight binary sine wave from a DC offset to a true AC signal. Oops.
I still don't want to do that extra program execution to the megbytes of
samples I have if I don't have to.
"Chuck Simmons" wrote in message
> Thomas Magma wrote:
> > Ya, I don't know what Analog is trying to say there but I'm sure that
> > inverting the MSB does not convert straight binary to 2's complement. I
> > my books at works but here is what I could quickly find on the net to
> > my point.
> Binary MSB inverted Binary value MSB inverted as 2's comp value
> 111 011 7 3
> 110 010 6 2
> 101 001 5 1
> 100 000 4 0
> 011 111 3 -1
> 010 110 2 -2
> 001 101 1 -3
> 000 100 0 -4
> That looks right to me.
> ... The times have been,
> That, when the brains were out,
> the man would die. ... Macbeth
> Chuck Simmons email@example.com
Go Back To The Cyber-Spy.Com
Usenet Web Archive Index Of
The sci.electronics.design Newsgroup