Digital-Logic-Sim icon indicating copy to clipboard operation
Digital-Logic-Sim copied to clipboard

Why is my digital display showing -8 instead of 8 and -8 instead of 15 and probably a lot more things...

Open Kaminester opened this issue 2 years ago • 1 comments

image

Kaminester avatar Sep 03 '22 00:09 Kaminester

You're trying to display an unsigned number on a signed display, if you're confused about what that means check out the "Two's Compliment" section of Sebastian Lague's first video in the two part series using Digital Logic Sim.

For a quick fix, make the number output again and uncheck "signed" (I think that's what the checkbox is called).

@Kaminester

CallumCM avatar Sep 03 '22 01:09 CallumCM