CS 2734 Computer Organization II
Lecture 3: Introduction to the Sparc - 1/22/97
Read Paul p. 43 - 48 (Sections 2.1 - 2.4)
Finish up numbers:
Conversion from base b to base a when a is a power of b or vice versa.
Uses of different representations.
Introduction to Sparc architecture - a RISC (reduced instruction set computer) machine. RISC characteristics include:
Large number of registers.
Register windows.
Simple instruction set.
Most instructions executed in one cycle.
Load and store architecture.
Sparc registers (see the table on page 44 of Paul):
g
registers are the global registers.
o
registers are for passing parameters to called functions.
l
registers for local variables.
i
registers for incoming function arguments.
A look at a simple Sparc assembly language program:
Download the Sparc program
simplesparc.m
and compile by making
Makefile
SKILL:
Fast conversion for bases that are powers of each other.