Professional Documents
Culture Documents
Neumann
and
the
Fetch,
Decode,
Execute
Cycle
Von Neumann
Sunday, 10 March 13
Von Neumann
Sunday, 10 March 13
Von Neumann
Sunday, 10 March 13
Von Neumann
An
Example
From
your
textbook
(star:ng
on
page
31)
Consider
the
assembly
instruc:ons:
CLRA
;clears
accumulator
A
(sets
to
0)
LDAA
#$5C
;loads
accumulator
A
with
$5C
This
is
translated
by
the
assembler
to
(assume
base
address
of
E000):
Address
Opcode Operand
E000
4F
E001
86
5C
Sunday, 10 March 13
Von Neumann
Sunday, 10 March 13
Von Neumann
Sunday, 10 March 13
Von Neumann
Sunday, 10 March 13
Von Neumann
Sunday, 10 March 13
Von Neumann
10
INY
has
a
two-byte
opcode,
18
6E.
Two
byte
opcodes
were
introduced
as
a
way
of
adding
extra
instruc:ons
without
breaking
compa:bility
with
the
older
6800
series
of
processors
This
is
why
INY
takes
4
clock
cycles
(new
instruc:on)
while
INX
(opcode
08)
only
takes
3.
Sunday, 10 March 13
Von Neumann
11