Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

ATPL00B Datasheet(PDF) 30 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) 30 Page - ATMEL Corporation

Back Button 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 ATPL00B Datasheet HTML 34Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 152 page
background image
Atmel ATPL00B [datasheet]
43028A-ATPL - 9/12
30
Indexed Addressing
Only program Memory can be accessed with indexed addressing, and it can only be read. This addressing
mode is intended for reading look-up tables in Program Memory. A 16-bit base register (either DPTR or
the Program Counter) points to the base of the table, and the Accumulator is set up with the table entry
number.
The address of the table entry in Program Memory is formed by adding the Accumulator data to the base
pointer.
Another type of indexed addressing is used in the “case jump” instruction. In this case the destination
address of a jump instruction is computed as the sum of the base pointer and the Accumulator data.
4.4.3
Arithmetic Instructions
The menu of arithmetic instructions is listed in Table 4-3, which indicates the addressing modes that can be used with
each instruction to access the <byte> operand. For example, the ADD A,<byte> instruction can be written as:
ADD
A, 6EH
(direct addressing)
ADD
A, @R1
(indirect addressing)
ADD
A, R6
(register addressing)
ADD
A, #206
(immediate constant)
The execution times listed in Table 4-3 assume 3 clock cycles per machine cycle (mc), using a 10MHz clock 1 mc is
executed in 0.3us. All the arithmetic instructions execute in 1mc except the Multiply and Divide instructions, which take
2mc.
Note that any byte in the internal Data Memory space can be incremented without going through the Accumulator.
One of the INC instructions operates on the 16-bit Data Pointer. The Data Pointer is used to generate 16-bit addresses
for external memory, so being able to increment it in one 16-bit operation is a useful feature.
The MUL AB instruction multiplies the Accumulator by the data in the B register and puts the 16-bit product into the
concatenated B and Accumulator registers.
The DIV AB instruction divides the Accumulator by the data in the B register and leaves the 8-bit quotient in the
Accumulator, and the 8-bit remainder in the B reg
ister. Oddly enough, DIV AB finds less use in arithmetic “divide”
routines than in radix conversions and programmable shift operations. In shift operations, dividing a number by 2^n
shifts its n bits to the right. Using DIV AB to perform the division completes the shift in 2mc and leaves the B register
holding the bits that were shifted out.
The DA A instruction is for BCD arithmetic operations. In BCD arithmetic, ADD and ADDC instructions should always be
followed by a DA A operation, to ensure that the result is also in BCD. Note that DA A will not convert a binary number
to BCD. The DA A operation produces a meaningful result only as the second step in the addition of two BCD bytes.



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