Assembly Language and Computer Architecture Essentials

Chapter 7: IEEE 32-bit Float

IEEE 32-bit float representation includes:

  • 1 sign bit
  • An 8-bit biased exponent. To calculate, normalize the binary number to the 1.xxxx form, and add 127 (127 = 01111111 in binary).
  • 23 bits for the fraction (mantissa), using the binary number after the decimal.

Chapter 11: Assembly Language

General Purpose Registers

Registers hold temporary data and instructions:

  • %rdi (edi), %rsi (esi), %rdx (edx), %rcx, %rbx, %rax
  • %rsp: Stack Pointer – Points to the top of the stack.
  • %rbp: Base
Read More