09.05.2015 Views

Microcomputer Circuits and Processes

Microcomputer Circuits and Processes

Microcomputer Circuits and Processes

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

EXECUTE cycle number<br />

(These numbers correspond<br />

to those in the titles of<br />

figures 3.15 to 3.25) Mnemonic<br />

Opwcode<br />

or data<br />

(*indicates<br />

data) Address Effect of instruction<br />

2<br />

3&4<br />

5<br />

6<br />

MVI A<br />

MOV M~Acc<br />

ADI<br />

MOV Acc~M<br />

STOP<br />

0010<br />

0111 *<br />

0110<br />

1111<br />

0101 *<br />

0111<br />

0000<br />

0110*<br />

0000<br />

0001<br />

0010<br />

0011<br />

0100<br />

0101<br />

0110<br />

0111<br />

Move the number 0111 into register A, ready to be used as<br />

an address.<br />

Move memory contents into accumulator.<br />

Add the number 0101 (5 10 ) to the accumulator, <strong>and</strong> put<br />

result in accumulator.<br />

Move accumulator contents into memory.<br />

Stop.<br />

Data 0110 (6 10 ) to be added.<br />

(This page may be photocopied for use with the work on pages 34 to 42.)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!