Electronic Components Datasheet Search
  English  ▼

X  

ATPL00B Datasheet(PDF) 29 Page - ATMEL Corporation

Part # ATPL00B
Description  FSK Power Line Communications SoC
PDF  152 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATPL00B Datasheet(HTML) 29 Page - ATMEL Corporation

Back Button ATPL00B Datasheet HTML 25Page - ATMEL Corporation ATPL00B Datasheet HTML 26Page - ATMEL Corporation ATPL00B Datasheet HTML 27Page - ATMEL Corporation ATPL00B Datasheet HTML 28Page - ATMEL Corporation ATPL00B Datasheet HTML 29Page - ATMEL Corporation ATPL00B Datasheet HTML 30Page - ATMEL Corporation ATPL00B Datasheet HTML 31Page - ATMEL Corporation ATPL00B Datasheet HTML 32Page - ATMEL Corporation ATPL00B Datasheet HTML 33Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 29 / 152 page
background image
Atmel ATPL00B [datasheet]
43028A-ATPL - 9/12
29
4.4
Instruction Set
The instruction set provides a variety of fast addressing modes for accessing the internal RAM to facilitate byte
operations on small data structures. The instruction set provides extensive support for one-bit variables as a separate
data type, allowing direct bit manipulation in control and logic systems that require boolean processing.
4.4.1
Program Status Word
The Program Status Word (PSW) contains several status bits that reflect the current state of the CPU. The PSW, shown
in 4.3.4, resides in the SFR space. It contains the Carry bit, the Auxiliary Carry (for BCD operations), the two register
bank select bits, the Overflow flag, a Parity bit, and two user-definable status flags.
The Carry bit, other than serving the function of a Carry bit in arithmetic operations, also serves as the “Accumulator” for
a number in Boolean operations.
The bits RS0 and RS1 are used to select one of the four register banks shown in Figure 4-8. A number of instructions
refer to these RAM locations as R0 through R7. The selection of which of the four is being referred to is made on the
basis of the RS0 and RS1 at execution time.
The Parity bit reflects the number of 1s in the Accumulator: P = 1 if the Accumulator contains an odd number of 1s, and
P = 0 if the Accumulator contains an even number of 1s. Thus the number of 1s in the Accumulator plus P is always
even. Two bits in the PSW are uncommitted and may be used as general purpose status flags.
4.4.2
Addressing Modes
Direct Addressing
In direct addressing the operand is specified by an 8-bit address field in the instruction. Only internal Data
RAM and SFRs can be directly addressed.
Indirect Addressing
In indirect addressing the instruction specifies a register which contains the address of the operand. Both
internal and external RAM can be indirectly addressed.
The address register for 8-bit addresses can be either R0 / R1 of the selected register bank or the Stack
Pointer. The address register for 16-bit addresses can only be the 16-
bit “data pointer” register, DPTR.
Register Instructions
The register banks, containing registers R0 through R7, can be accessed by certain instructions which
carry a 3-bit register specification within the opcode of the instruction. Instructions that access the
registers this way are code efficient, since this mode eliminates an address byte. When the instruction is
executed, one of the eight registers in the selected bank is accessed. One of four banks is selected at
execution time by the two bank select bits in the PSW.
Register-Specific Instructions
Some instructions are specific to a certain register. For example, some instructions always operate on the
Accumulator, or Data Pointer, etc., so no address byte is needed to point to it. The opcode itself does that.
Instructions that refer to the Accumulator as A assemble as accumulator specific opcodes.
Immediate Constants
The value of a constant can follow the opcode in Program Memory.
For example:
MOV A, 64H
loads the Accumulator with the number 64H.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com