17.05.2015 Views

16-Bit Microprocessor Handbook

16-Bit Microprocessor Handbook

16-Bit Microprocessor Handbook

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table 1-1. 'INS8900 and PACE Instruction Set Summary (Continued)<br />

TYPE<br />

MNEMONIC<br />

OPERAND(S)<br />

BYTES<br />

STATUSES<br />

C<br />

o<br />

L<br />

OPERATION PERFORMED<br />

>~w!!:<br />

a:21-~<br />

OWc(U)<br />

::!ia:a: O<br />

~~~~<br />

a:<br />

ISZ<br />

DSZ<br />

DISP(X)<br />

DISP(X)<br />

2<br />

[EA]-[ EA]+,<br />

If [EA] = 0; then [PC]-[ PC]+ 1<br />

Increment memory. skip if zero.<br />

[EA]-[ EA] - ,<br />

If [EA] = 0; then [PC]-[ PC] + 1<br />

Decrement memory. skip if zero.<br />

~<br />

...,<br />

CD<br />

~~!!:<br />

Q~~<br />

wwO<br />

::!ia.Z<br />

~Oc(<br />

a: a:<br />

www<br />

1-1-><br />

SS~<br />

ww<br />

a: a:<br />

AISZ<br />

RCPY<br />

RXCH<br />

r.DATA8<br />

S.D<br />

S.D<br />

[rl-[ r]+DATA8<br />

If [r] =0; then [PC]-[PC]+l<br />

Add immediate to any Accumulator. Skip if zero. DATA8 is an 8·bit signed binary immediate<br />

data value.<br />

[D]-[S]<br />

Move contents of any Accumulator (S) to any Accumulator (D).<br />

[D]--[S]<br />

Exchange contents of any Accumulators.<br />

w<br />

.a:<br />

~<br />

a:w<br />

wa.<br />

1-0<br />

~a:<br />

~w<br />

WIa:U)<br />

(;<br />

w<br />

a:<br />

RADD<br />

RADC<br />

RAND<br />

RXOR<br />

S.D<br />

S.D<br />

S.D<br />

S.D<br />

2<br />

x<br />

x<br />

x<br />

x<br />

[D]-[S]+[D]<br />

Binary add any Accumulator to any Accumulator.<br />

[D]-[S1+[D]+[C]<br />

Binary add with Carry any Accumulator to any Accumulator.<br />

[D]-[S] 1\ [D)<br />

AND any Accumulator with any Accumulator.<br />

[D]-[S] ¥[D]<br />

Exclusive-OR any Accumulator with any Accumulator.<br />

a:w<br />

~~<br />

U)a:<br />

(;~<br />

~O<br />

SHL<br />

SHR<br />

ROL<br />

ROR<br />

r.n.1<br />

r.n.1<br />

r.n.'<br />

r.n.1<br />

2<br />

2<br />

2<br />

x<br />

X<br />

X<br />

X<br />

Shift any Accumulator left n bits. Simple if 1 = 0; through Link if 1 = 1.<br />

Shift any Accumulator left n bits. Simple if 1 = O. through Link if , = 1.<br />

As SHL. but rotate.<br />

As SHR. but rotate.

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

Saved successfully!

Ooh no, something went wrong!