Assembler Tutorial
This program is part of the software suite
that accompanies the book
The Elements of Computing Systems
by Noam
Nisan and Shimon Schocken
MIT Press
www.idc.ac.il/tecs
This software was devel
oped by students at the
Efi
Arazi
School of Computer
Science at IDC
Chief Software Architect: Yaron
U
krainitz
Assembl
e
r Tutorial, w
ww.idc.ac.i
l
/tecs
Tutorial In
d
e
x
Slide 1/22Background
The E
l
ements of
C
omp
ut
i
ng Sy
s
t
ems
evolves around
the
construction of a com
p
le
te
com
p
uter syste
m
,
do
ne
in the
framework o
f
a 1-
or 2-semester course.
In the
first part o
f
the
boo
k/course, we build the
ha
rdwa
re platform of a simple yet powerful
computer, called Hack. In
the
second part, we build
the computer’s software hiera
r
chy, consisting of an
asse
mbl
e
r, a virtual machine, a sim
p
le
Java-lik
e
language called Jack, a compiler for it, and a mini
operating system, written in Jack.
The book/course is completely self-contained,
requiring only p
r
ogrammi
ng as a pre-requisite.
The book’s web site in
cludes some 200 test
progra
ms, test scripts, and all the software
to
ols ne
cessary for doing all th
e projects.
Assembl
e
r Tutorial, w
ww.idc.ac.i
l
/tecs
Tutorial In
d
e
x
Slide 2/22
The book’s software suite
(All the suppli
e
d tools are dual
-pl
atform:
Xxx.bat
st
arts
Xxx
in Windows, and
Xxx.sh
starts it in Unix)
Simulator
s
(
HardwareSimulator
,
CPUEmulator
,
VMEmulator
):
This tutorial is ...
Voir