Академический Документы
Профессиональный Документы
Культура Документы
Arvind
6.823 L2- 2
Arvind
Importance of Technology
Technology
Core memories Computers
Magnetic tapes
Disks
Technology
ROMs, RAMs
VLSI Computers
Packaging
Low Power
But Software...
on computer architecture
Technology
Computers
Software
September 12, 2005
6.823 L2- 5
Arvind
IBM 650
A drum machine with 44 instructions
LOAD x AC M[x]
SUB x
MUL x Involved a quotient register
DIV x
SHIFT LEFT AC 2 (AC)
SHIFT RIGHT
JUMP x PC x
STORE ADR x
Programming:
Arvind
LOOP LOAD N B
JGE DONE
ADD ONE
STORE N C
F1 LOAD A
F2 ADD B
F3 STORE C N -n
JUMP LOOP ONE 1
DONE HLT
code
Self-Modifying Code
Early Solutions
Fast local storage in the processor
8-16 registers as opposed to one accumulator Memory
Indexing capability
to reduce book keeping instructions
Processor
Complex instructions
to reduce instruction fetches
Compact instructions
implicit address bits for operands, to reduce
instruction fetches
Processor State
Index Registers
Tom Kilburn, Manchester University, mid 50s
DONE HALT
Program does not modify itself
Efficiency has improved dramatically (ops / iter)
several accumulators
call F F:
a1
Main
a2
Program
Subroutine F
call F
b1 return
b2
M: JSR F F M + 1 and
jump to F+1
Subroutine Calls
Indirect addressing Subroutine
LOAD (x) means AC M[M[x]] M+1
F M+2
M+3
...
F+1
Caller
Events:
S1 LOAD (F) fetch
M JSR F Execute M inc F arg
arg
Execute S1
result
Execute S2
M+3
Execute S3 S2 STORE(F)
inc F store
result
SP Data
Stack
Data formats:
Bytes, Half words, words and double words
Some issues
Byte addressing
Big Endian 0 1 2 3
vs. Little Endian 3 2 1 0
Word alignment
Suppose the memory is organized in 32-bit words.
0 1 2 3 4 5 6 7
Some Problems
Instruction set
I/O system and Secondary Storage:
magnetic tapes, drums and disks
assemblers, compilers, libraries,...
market niche
business, scientific, real time, ...
IBM 360
September 12, 2005
6.823 L2- 25
Arvind
Example of difficulties:
Current machines have register files with more storage
than entire main memory of early machines!
On-chip test circuitry in current machines has hundreds
of times more transistors than entire early computers!
DSPs