| Electronic Components Datasheet Search |
|
ATPL00B Datasheet(PDF) 37 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATPL00B Datasheet(HTML) 37 Page - ATMEL Corporation |
|
37 / 152 page ![]() Atmel ATPL00B [datasheet] 43028A-ATPL - 9/12 37 Table 4-10. Conditional Jump instructions MNEMONIC OPERATION ADDRESSING MODES EXECUTION DIR IND REG IMM TIME(mc) JZ rel Jump if A = 0 2 JNZ rel Jump if A /= 0 2 DJNZ <byte>,rel Decrement and jump if not zero X X 2 CJNE A,<byte>,rel Jump if A /= <byte> X X 2 CJNE <byte>,#data,rel Jump if <byte> /= #data X X 2 4.5 CPU Timing Execution time is divided into machine cycles. A machine cycle consists of a sequence of 3 states, numbered S1 through S3. Each state time lasts for one clock period. Thus a machine cycle takes 3 clock periods (or near 0.27 s if the clock frequency is 11.059.200Hz). Figure 4-10 shows fetch/execute sequences for various kinds of instructions; while an instruction is being executed code bytes for the next instruction are fetched. Normally three program fetches are generated during each machine cycle, even if the next instruction to be executed doesn‟t require it. If the instruction doesn‟t need the three code bytes, the CPU simply ignores the extra fetches, and the Program Fetch Counter is not incremented. All the instructions, except MOVX, have the same fetch/execute sequence. The MOVX instructions take two machine cycles to execute. During a MOVX instruction only one fetch is generated, S1 in machine cycle 1. This is the only time program fetches are skipped. The fetch/execute sequence for MOVX instructions is shown in Figure 4-10b and Figure 4-10c. The fetch/execute sequences are the same whether the Program Memory is internal or external to the chip. Execution times do not depend on whether the Program Memory is internal or external. Figure 4-10 shows the signals and timing involved in program fetches when the Program Memory is external. If Program Memory is external, then the Program Memory read strobe PSEN is normally activated („0‟) three times per machine cycle, as shown in Figure 4-10a. If an access to external Data Memory occurs, as shown in Figure 4-10b and 15c, five PSENs are skipped, because the address and data bus are being used for the Data Memory access. |
|
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 |
| 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 |