INSTRUCTION SET
Mev
A,T
Move
Timer/Counter Contents
to
Accumulator
10100100101
The contents of the timer/event-counter register
are moved
to
the accumulator.
(A)---
(T)
Example:
Jump to "EXIT" routine when timer reaches '64',
that
is,
when bit 6 set - assuming initialization
64,
TIMCHK: MOV A,T ;MOVE TIMER CONTENTS TO
;ACC
JB6 EXIT ;JUMP TO 'EXIT'
IF
ACC BIT
;6=1
MeV
PSW,A Move Accumulator Contents
to
PSW (Not in 8021, 8022)
11101101111
The contents
of
the accumulator are moved into the
program status word.
All condition bits and the
stack pointer are affected by this move.
(PSW)--- (A)
Example: Move up stack pointer by
two
memory locations,
that is, increment the pointer by one.
INCPTR: MOV A,PSW ;MOVE
PSW
CONTENTS TO ACC
INC
A ;INCREMENT ACC BY ONE
MOV PSW,A
;MOVE ACC CONTENTS TO PSW
MOV Rr,A
Move
Accumulator Contents
to
Register
1101011rrri
The contents of the accumulator are moved
to
register 'r'.
(Rr)---
(A)
Example:
MRA: MOV
RO,A
r=0-7
;MOVE CONTENTS OF ACC TO
;REG 0
MOV Rr,#data
Move
Immediate Data
to
Register
This
is
a 2-cycle instruction. The 8-bit value
specified by 'data' is moved to register 'r'.
(Rr).-
data r=0-7
Mnemonics copyright Intel Corporation
1976.
4-23