17.05.2015 Views

~ National ~ Semiconductor - Al Kossow's Bitsavers

~ National ~ Semiconductor - Al Kossow's Bitsavers

~ National ~ Semiconductor - Al Kossow's Bitsavers

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.

6.0 Instruction Set Reference (Continued)<br />

MOVE<br />

Syntax<br />

MOVE<br />

MOVE<br />

Move Immediate<br />

n, rd<br />

n, [Ir]<br />

Affected Flags<br />

None<br />

Description<br />

-immediate, limited register<br />

-immediate, indexed<br />

Moves the immediate value n into the destination specified.<br />

The destination may be either a register, rd, (limited to the<br />

active registers RO-R15), or data memory via an index register,<br />

Ir. The value n is 8 bits wide.<br />

Example<br />

Load the current accumulator with the value of 4.<br />

MOVE 4, A ;Load accumulator<br />

Instruction Format<br />

MOVE<br />

n, rd<br />

C<br />

"tI<br />

CO<br />

Co)<br />

....<br />

»<br />

1 I 0 I 1 I 1 1<br />

1<br />

. Opcode .<br />

15 11<br />

MOVE n, [Ir]<br />

1 10 I 0 I 0 11 10 I<br />

I 1<br />

1<br />

. Opcode . n[7-5]<br />

15<br />

9<br />

T-states<br />

MOVE<br />

MOVE<br />

n, rd<br />

n, [lr]<br />

Bus Timing<br />

MOVE<br />

MOVE<br />

Operation<br />

n, rd<br />

n, [Ir]<br />

MOVE n, rd<br />

n .... rd<br />

-2<br />

-3<br />

MOVE n, [lr]<br />

n .... data memory<br />

-Figure 1<br />

-Figure 12<br />

n<br />

Ir<br />

6-l- 4<br />

OO-IW<br />

01-IX<br />

10-IY<br />

11-IZ<br />

3<br />

rd<br />

I I<br />

n[4-0]<br />

0<br />

0<br />

2-115

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

Saved successfully!

Ooh no, something went wrong!