Download APG013 User Manual

Transcript
Rev 1.0.0
APG013 8-bit RISC Microcontroller
USER MANUAL
When PCON2 bit 7 READ_SMART is set to 1, it can use the CALL instruction to jump to the location in
the user region and use RETW instruction to return a byte. This bit will be cleared automatically after
execution of RETW.
PCL
Address
7
PC Low Byte
Register
General part
0x02
6
5
4
3
2
1
0
PCL
R/W
R/W
R/W
R/W
Bit
Bit Name
Mode
Description
7:0
PCL
R/W
PC low byte
R/W
POR Default
0000-0000
R/W
R/W
R/W
Note:
1. Any instruction which write to PCL will need 2 system clock cycles to execute.
2. PCL cannot be used as the operator of IJZ or DJZ instruction.
© 2011 AppoTech Ltd
21
APG013-UM-100-EN