Epson CMOS 32-Bit Single Chip Microcomputer S1C33L03 Uživatelský manuál Strana 69

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 181
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 68
7 DETAILS OF INSTRUCTIONS
S1C33 FAMILY C33 PE CORE MANUAL
EPSON
61
adc %rd, %rs
Function
Addition with carry
Standard) rd
rd + rs + C
Extension 1) Unusable
Extension 2) Unusable
Code
15 12 11 8 7 4 3 0
1 0 1 1 1 0 0 0
r s r d
0xB8__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Flag
IE C V Z N
|
|
|
|
Mode
Src: Register direct %rs = %r0 to %r15
Dst: Register direct
%rd = %r0 to %r15
CLK
One cycle
Description
(1) Standard
adc
%rd,%rs ; rd rd + rs + C
The content of the rs register and C (carry) flag are added to the rd register.
(2) Delayed instruction
This instruction may be executed as a delayed instruction by writing it directly after a branch
instruction with the d bit.
Example
(1) adc %r0,%r1 ; r0 = r0 + r1 + C
(2) Addition of 64-bit data
data 1 = {r2, r1}, data2 = {r4, r3}, result = {r2, r1}
add %r1,%r3 ; Addition of the low-order word
adc %r2,%r4 ; Addition of the high-order word
Zobrazit stránku 68
1 2 ... 64 65 66 67 68 69 70 71 72 73 74 ... 180 181

Komentáře k této Příručce

Žádné komentáře