поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

DP80390 датащи(PDF) 33 Page - Digital Core Design

номер детали DP80390
подробное описание детали  Pipelined High Performance Microcontroller Instructions set details ver 3.10
PDF  84 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  DCD [Digital Core Design]
домашняя страница  http://www.digitalcoredesign.com
Logo DCD - Digital Core Design

DP80390 датащи(HTML) 33 Page - Digital Core Design

Back Button DP80390 Datasheet HTML 29Page - Digital Core Design DP80390 Datasheet HTML 30Page - Digital Core Design DP80390 Datasheet HTML 31Page - Digital Core Design DP80390 Datasheet HTML 32Page - Digital Core Design DP80390 Datasheet HTML 33Page - Digital Core Design DP80390 Datasheet HTML 34Page - Digital Core Design DP80390 Datasheet HTML 35Page - Digital Core Design DP80390 Datasheet HTML 36Page - Digital Core Design DP80390 Datasheet HTML 37Page - Digital Core Design Next Button
Zoom Inzoom in Zoom Outzoom out
 33 / 84 page
background image
DP80390 Instructions set details
- 33 -
All trademarks mentioned in this document
http://www.DigitalCoreDesign.com
are trademarks of their respective owners.
http://www.dcd.pl
Copyright 1999-2003 DCD – Digital Core Design. All Rights Reserved.
3.9.
DA
Instruction:
DA A
Function:
Decimal adjust accumulator for addition
Description:
DA A adjusts the eight-bit value in the accumulator resulting from the
earlier addition of two variables (each in packed BCD format),
producing two four-bit digits. Any ADD or ADDC instruction may have
been used to perform the addition. If accumulator bits 3-0 are greater
than nine (xxxx1010-xxxx1111), or if the AC flag is one, six is added to
the accumulator producing the proper BCD digit in the low- order nibble.
This internal addition would set the carry flag if a carry-out of the low-
order four-bit field propagated through all high-order bits, but it would
not clear the carry flag otherwise.
If the carry flag is now set, or if the four high-order bits now exceed nine
(1010xxxx-1111xxxx), these high-order bits are incremented by six,
producing the proper BCD digit in the high-order nibble. Again, this
would set the carry flag if there was a carry-out of the high-order bits,
but wouldn't clear the carry. The carry flag thus indicates if the sum of
the original two BCD variables is greater than 100, allowing multiple
precision decimal addition. OV is not affected.
All of this occurs during the one instruction cycle. Essentially; this
instruction performs the decimal conversion by adding 00 H , 06 H , 60
H , or 66 H to the accumulator, depending on initial accumulator and
PSW conditions.
Note:
DA A cannot simply convert a hexadecimal number in the accumulator
to BCD notation, nor does DA A apply to decimal subtraction.
Operation:
(PC)
← (PC) + 1
if [[(A3-0) > 9] ^ [(AC) = 1]] then
(A3-0)
← (A3-0) + 6
next
if [[(A7-4) > 9] ^ [(C) = 1]] then
(A7-4)
← (A7-4) + 6
Bytes:
1
Cycles:
3
Encoding:
1
1
0
1
0
1
0
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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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