Sei sulla pagina 1di 1

OPCODE MICROPROCESADOR 6008 - 8 BITS

Nº Name Mnemonic OpCode Description


Load Accumulator 1000 01102 Load the contents of the next memory location into the
1 LDA
(Immediate) or 8616 accumulator
Add 1000 10112 Add the contents of the next memory location to the present
2 ADD
(Immediate) or 8B16 contents of the accumulator. Place the sum in the accumulator.

Subtract 1000 00002 Subtract the contents of the next memory location from the
3 SUB contents of the accumulator. Place the difference in the
(Immediate) or 8016 accumulator.
Store Accumulator 1000 01112 Store the contents of the accumulator in the next memory
4 STA
(Immediate) or 8716 location
AND 1000 01002 Perform the logical AND between the contents of the
5 ANDA accumulator and the contents of the next memory location. Place
(Immediate) or 8416 the result in the accumulator.
OR, inclusive 1000 10102 Perform the logical OR between the contents of the accumulator
6 ORA and the contents of the next memory location. Place the result in
(Immediate) or 8A16 the accumulator.
Load Accumulator 1001 01102 Load the contents of the memory location whose address is given
7 LDA
(Direct) or 9616 by the next byte into the accumulator

Add 1001 10112 Add the contents of the memory location whose address is given
8 ADD by the next byte to the present contents of the accumulator.
(Direct) or 9B16 Place the sum in the accumulator.

Subtract 1001 00002 Subtract the contents of the memory location whose address is
9 SUB given by the next byte from the present contents of the
(Direct) or 9016 accumulator. Place the difference in the accumulator.

Store Accumulator 1001 01112 Store the contents of the accumulator in the memory location
10 STA
(Direct) or 9716 whose address is given by the next byte
Perform the logical AND between the contents of the
AND 1001 01002
accumulator and the contents of the memory location whose
11 ANDA
address is given by the next byte. Place the result in the
(Direct) or 9416
accumulator.

OR, inclusive 1001 10102 Perform the logical OR between the contents of the accumulator
12 ORA and the contents of the memory location whose address is given
(Direct) or 9A16 by the next byte. Place the result in the accumulator.

Halt 0011 11102


13 HLT stop all operations
(Inherent) or 3E16
Clear Accumulator 0100 11112
14 CLRA Reset all bits in the accumulator to 0
(Inherent) or 4F16

Complement 2's or Negate 0100 00002 Replace the contents of the accumulator with its complement
15 NEGA
plus 1
(Inherent) or 4016
Increment Accumulator 0100 11002
16 INCA Add 1 to the contents of the accumulator
(Inherent) or 4C16
Decrement Accumulator 0100 10102
17 DECA Subtract 1 from the contents of the accumulator
(Inherent) or 4A16

Ingº Joseph Darwin Alvarado Tolentino


josdarw@gmail.com

Potrebbero piacerti anche