Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:multiasm:cs:chapter_3_11 [2025/12/12 13:23] ktokarzen:multiasm:cs:chapter_3_11 [2026/01/10 20:18] (current) pczekalski
Line 1: Line 1:
 ====== Fundamentals of Data Encoding, Big Endian, Little Endian ====== ====== Fundamentals of Data Encoding, Big Endian, Little Endian ======
-The processor can work with different types of data. These include integers of different sizes, floating point numbers, texts, structures and even single bits. All this data is stored in the memory as a single byte or multiple bytes. +The processor can work with different types of data. These include integers of different sizes, floating-point numbers, text, structuresand even single bits. All this data is stored in the memory as a single byte or multiple bytes. 
  
 ===== Integers ===== ===== Integers =====
Line 27: Line 27:
 {{ :en:multiasm:cs:equation_floating.png?200 |}} {{ :en:multiasm:cs:equation_floating.png?200 |}}
  
-There are two main types of real numbers, called floating-point values. Single precision is a number which is encoded in 32 bits. Double-precision floating-point number is encoded with 64 bits. They are presented in Fig{{ref>realtypes}}.+There are two main types of real numbers, called floating-point values. Single precision is a number which is encoded in 32 bits. A double-precision floating-point number is encoded with 64 bits. They are presented in Fig{{ref>realtypes}}.
  
 <figure realtypes> <figure realtypes>
Line 43: Line 43:
 </table> </table>
  
-The most common representation for real numbers on computers is standardised in the document IEEE Standard 754. There are two modifications implemented which make the calculations easier for computers. +The most common representation for real numbers on computers is standardised in the document IEEE Standard 754. Two features have been implemented to make the calculations easier for computers: 
-  * The Biased exponent +  * the Biased exponent, 
-  * The Normalised Mantissa+  * the Normalised Mantissa.
 A biased exponent means that the bias value is added to the real exponent value. This results in all positive exponents, which makes it easier to compare numbers. A biased exponent means that the bias value is added to the real exponent value. This results in all positive exponents, which makes it easier to compare numbers.
 The normalised mantissa is adjusted to have only one bit of the value "1" to the left of the decimal. It requires an appropriate exponent adjustment. The normalised mantissa is adjusted to have only one bit of the value "1" to the left of the decimal. It requires an appropriate exponent adjustment.
en/multiasm/cs/chapter_3_11.1765538611.txt.gz · Last modified: 2025/12/12 13:23 by ktokarz
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0