English
Language : 

IA70C20 Datasheet, PDF (13/27 Pages) InnovASIC, Inc – 8-Bit Microcontroller
IA70C20
8-Bit Microcontroller
Data Sheet
August 19, 2008
3.3 Peripheral-File Addressing Mode
In peripheral-file addressing mode, instructions perform I/O tasks. Each PF
register is an 8-bit port that can be referred to as Pn.
Four instructions use peripheral-file addressing mode:
 MOVP,
 ANDP,
 ORP, and
 XORP.
These instructions may use register A or B as the source register and Pn as the
destination register. MOVP may also be executed using Pn as the source register
and A or B as the destination register. (BTJOP and BTJZP are also peripheral-file
instructions but they have a different format.) Figure 3 illustrates the byte
requirements of the instructions using the peripheral-file addressing mode.
Figure 3. Peripheral-File Addressing Mode Byte Requirements
Source A
B
iop
Ps
Destination
A B Pd
2
2
3
22
Bytes Needed for
ANDP, ORP, and MOVP
Destination
Pd
Source A 3
B3
iop 4
Bytes Needed for
all BTJOP and BTJZP
3.4 Immediate Addressing Mode
In immediate addressing mode instructions use an immediate eight-bit operand.
Either a constant value or a label preceded by a percent sign (%) can be used as
the immediate value. The MOVD instruction uses 16-bit immediate operands in
two special formats. Figure 4 illustrates the simplest case of an instruction using
this mode.
IA211030117-05
Page 13 of 27
http://www.Innovasic.com
Customer Support:
1-888-824-4184