Introduction to Computer Systems and Assembly Language Programming
Classified in Computers
Written on in
English with a size of 7.29 KB
Computer System
Components:
- CPU
- Memory (ROM/RAM)
- I/O unit
BCD (Binary-Coded Decimal)
- Add 0110 to the result if it falls between 1010 and 1111.
Overflow
- Occurs when both numbers being added are positive or negative, and the result exceeds the maximum representable value.
IEEE-754 Standard
- 32 bits: 1 sign bit, 8 exponent bits, 23 mantissa bits
- NAN (Not a Number): Represents an error, exponent with all 1s and a sign bit of 0.
- Always add trailing zeros to complete the required number of bits.
Decoder
- Converts input to output using 2^n AND gates.
Memory
- Components: Address, data, enable, read, write
Control Unit
- Hardware instruction logic
- Decodes and monitors the execution of instructions.
ALU (Arithmetic Logic Unit)
- Performs numerical and logical evaluations.
- Receives