Professional Documents
Culture Documents
Von Neumann designed a new, unique and feasible architecture called the
Von Neumann Architecture. All modern computers still use this
architecture.
It consists of five basic elements : input, memory, control unit , arithmetic
logic unit(ALU) and output.
accumulator.
processors.
ACCB.
Stack machine is a computer sys tem in which the primary element of the
CPU is a stack.
Stack is a Data structure where data items are inserted and removed from
To Handle interrupts.
arithmetic expressions.
A programmer can simulate the behavior of the stack machine on these
Working of a stack
Contents
Data representation
Data Types
number codes.
Other formats of number system are fixed point and floating point.
Error correction can be done with the help of a single check bit called
parity bit.
Multiple errors cannot be detected with the parity bit and no information
Number Formats
representation.
Binary numbers
This is a positional notation in which each digit has a fixed weight
radix 2.
When used in signed number convention of a n-bit word, the nth bit
represents the sign of number and remaining bits indicate the magnitude.
Decimal Numbers
Excess three code has the advantage that it may be processed using the
Two out of five code containing two 1’s and 3 zero’s, it has the merit of
Generally used for scientific computations which require very large and
In 1980’s floating point number codes varied from one computer to other.
IEEE standardized format for 32 and 64 bit floating point numbers known
These std formats are intended to set flags in the host processor which
If the result of a floating point number is not a valid floating point number
64 bit std contains a sign bit , 7 bit exponent field and a 56bit mantissa .