Electronic Components Datasheet Search
  English  ▼

X  

AT89LP6440 Datasheet(PDF) 148 Page - ATMEL Corporation

Part # AT89LP6440
Description  8-bit Microcontroller with 64K Bytes In-System Programmable Flash
PDF  194 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT89LP6440 Datasheet(HTML) 148 Page - ATMEL Corporation

Back Button AT89LP6440 Datasheet HTML 144Page - ATMEL Corporation AT89LP6440 Datasheet HTML 145Page - ATMEL Corporation AT89LP6440 Datasheet HTML 146Page - ATMEL Corporation AT89LP6440 Datasheet HTML 147Page - ATMEL Corporation AT89LP6440 Datasheet HTML 148Page - ATMEL Corporation AT89LP6440 Datasheet HTML 149Page - ATMEL Corporation AT89LP6440 Datasheet HTML 150Page - ATMEL Corporation AT89LP6440 Datasheet HTML 151Page - ATMEL Corporation AT89LP6440 Datasheet HTML 152Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 148 / 194 page
background image
148
3706A–MICRO–9/09
AT89LP6440 - Preliminary
22.1.3
CJNE A, @R
i, rel
Function: Compare and Jump if Not Equal
Description: CJNE compares the magnitudes of the Accumulator and indirect RAM location and branches if their values are
not equal. The branch destination is computed by adding the signed relative-displacement in the last instruction
byte to the PC, after incrementing the PC to the start of the next instruction. The carry flag is set if the unsigned
integer value of ACC is less than the unsigned integer value of the indirect location; otherwise, the carry is
cleared. Neither operand is affected.
Example: The Accumulator contains 34H. Register 0 contains 78H and 78H contains 56H. The first instruction in the
sequence,
CJNE
A, @R0, NOT_EQ
;
. . . . . .
...... ...... ; ACC = @R0.
NOT_EQ:
JC
REQ_LOW .. ;IF ACC< @R0.
;
. . . . . .
...... ...... ;ACC > @R0.
sets the carry flag and branches to the instruction at label NOT_EQ. By testing the carry flag, the second
instruction determines whether ACC is greater or less than the location pointed to by R0.
Bytes: 2
Cycles: 9
Encoding:
A5
1
011
011
i
rel. address
Operation: CJNE
(PC)
← (PC) + 3
IF (A)
≠ ((R
i))
THEN
(PC)
← (PC) + relative offset
IF (A) < ((R
i))
THEN
(C)
← 1
ELSE
(C)
← 0
22.1.4
CLR M
Function: Clear MAC Accumulator
Description: CLR M clears the 40-bit M register. No flags are affected.
Example: The M registercontains 123456789AH. The following instruction,
CLR M
leaves the M register set to 0000000000H.
Bytes: 2
Cycles: 2
Encoding:
A5
1
110
010
0
Operation: JMP
(M)
←0



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