Skip to main content

Questions tagged [number-systems]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
10 votes
1 answer
1k views

How can I understand hexadecimal columns as power of 16 in Jeff Duntemann's book?

I am studying this book: x64 Assembly Language Step-by-Step. Programming with Linux-Wiley (2024) JEFF DUNTEMANN If I understand correctly, 1 in hexadecimal is equal to 1 in decimal. However, the ...
F. Zer's user avatar
  • 203
3 votes
2 answers
65 views

Numbers in Generating Phase Coherent Electronic Systems

I am reading the following paper 'Störmer’s numbers in generating phase coherent electronic systems' written in 1969. More or less I understand that in microwave applications there is clearly a use ...
Mikhail Gaichenkov's user avatar
2 votes
1 answer
1k views

Verilog signed numbers representation

I am confused as to when the '-' sign is used and when 's' is used. This post is somewhat helping, although not entirely. Please correct if I am wrong: For example, to interpret 8'sd244, we write 244 ...
SM32's user avatar
  • 406
1 vote
2 answers
642 views

Subtraction using 2's complement, why 4, 8 or 16 bit are required

During subtraction using 2's complement, why it is important to decide on the number of bits we are going to use, (e.g. 4 bit, 8 bit, 16 bit etc) and use the same number of bits to write each number. ...
TapasX's user avatar
  • 403
1 vote
2 answers
102 views

Problem with the smallest negative number using Signed-2's-Complement

I have a problem figuring out why the smallest negative number we can represent in 3 bits, using Signed-2's-Complement is -4. I understand that in S2C format, we can create numbers from 2x-1-1 (...
Ali A's user avatar
  • 11
0 votes
1 answer
384 views

How to convert floating point numbers to fixed point for use in a Verilog table? [closed]

I have a LUT in I need to assign values. They are in the range of 0 to 3.3. This is the code: ...
DaveFenner's user avatar
0 votes
1 answer
98 views

Bits are toggled in step 1 or 9's complement is done using subtraction?

In base 2, I want to subtract x-y using adder. Where, x = (1011)2 and y = (0101)2 [For verification, in decimal x=(11)10, y = (5)10. So, we are seeking (6)10 as the answer ] In base 2 using adder we ...
Ubi.B's user avatar
  • 135
-2 votes
1 answer
448 views

Why do we write the integer part from top to bottom and not the other way?

While converting the fractional part of a decimal number to another number system, why do we write the integer part from top to bottom and not the other way? Since the fractional part is 0, the ...
Anshul Gupta's user avatar