Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

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

Back Button ATPL00B Datasheet HTML 32Page - ATMEL Corporation ATPL00B Datasheet HTML 33Page - ATMEL Corporation ATPL00B Datasheet HTML 34Page - ATMEL Corporation ATPL00B Datasheet HTML 35Page - ATMEL Corporation ATPL00B Datasheet HTML 36Page - ATMEL Corporation ATPL00B Datasheet HTML 37Page - ATMEL Corporation ATPL00B Datasheet HTML 38Page - ATMEL Corporation ATPL00B Datasheet HTML 39Page - ATMEL Corporation ATPL00B Datasheet HTML 40Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 36 / 152 page
background image
Atmel ATPL00B [datasheet]
43028A-ATPL - 9/12
36
The AJMP instruction encodes the destination address as an 11-bit constant. The instruction is 2 bytes long, consisting
of the opcode, which itself contains 3 of the 11 address bits, followed by another byte containing the low 8 bits of the
destination address. When the instruction is executed, these 11 bits replace the low 11 bits in the PC. The high 5 bits
stay the same. Hence the destination has to be within the same 2k block as the instruction following the AJMP.
The JMP @A+DPTR instruction supports case jumps. The destination address is computed at execution time as the
sum of the 16-bit DPTR register and the Accumulator. Typically, DPTR is set up with the address of a jump table.
Table 4-9
shows two “CALL addr” instructions LCALL and ACALL, which differ in the format in which the subroutine
address is given to the CPU. CALL is a generic mnemonic which can be used if the programmer does not care which
way the address is encoded.
The LCALL instruction uses the 16-bit address format, and the subroutine can be anywhere in the 64k Program Memory
space.
The ACALL instruction uses the 11-bit format, and the subroutine must be in the same 2k block as the instruction
following the ACALL.
Subroutines should end with a RET instruction, which returns execution to the instruction following the CALL.
RETI is used to return from an interrupt service routine. The only difference between RET and RETI is that RETI tells
the interrupt control system that the interrupt in progress is done. If there is no interrupt in progress at the time RETI is
executed, then the RETI is functionally identical to RET.
Table 4-10 shows the list of conditional jumps available to the microcontroller user. All of these jumps specify the
destination address by the relative offset method, and so are limited to a jump distance of
–128 to +127 bytes from the
instruction following the conditional jump instruction.
There is no Zero bit in the PSW. The JZ and JNZ instructions test the Accumulator data for that condition.
The DJNZ instruction (Decrement and Jump if Not Zero) is for loop control.
The CJNE instruction (Compare and Jump if Not Equal) can also be used for loop control. Two bytes are specified in
the operand field of the instruction. The jump is executed only if the two bytes are not equal. Another application of this
instruction is in “greater than, less than” comparisons. The two bytes in the operand field are taken as unsigned
integers. If the first is less than the second, then the Carry bit is set (1). If the first is greater than or equal to the second,
then the Carry bit is cleared.
Table 4-9.
Unconditional Jump instructions
MNEMONIC
OPERATION
EXECUTION TIME (mc)
(S)JMP addr
Jump to addr
2
(L)JMP addr
Jump to addr
2
(A)JMP addr
Jump to addr
2
JMP @A+DPTR
Jump to A + DPTR
2
(A,L)CALL addr
Call subroutine at addr
2
RET
Return from subroutine
2
RETI
Return from interrupt
2
NOP
No operation
1



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