Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

STC89LE52RC Arkusz danych(PDF) 41 Page - STCmicro Technology Co,.Ltd

Numer części STC89LE52RC
Szczegółowy opis  Enhanced 80C51 Central Processing Unit ,6T or 12T per machine cycle
PDF  165 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  STC [STCmicro Technology Co,.Ltd]
Strona internetowa  http://www.stcmicro.com/
Logo STC - STCmicro Technology Co,.Ltd

STC89LE52RC Arkusz danych(HTML) 41 Page - STCmicro Technology Co,.Ltd

Back Button STC89LE52RC Datasheet HTML 37Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 38Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 39Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 40Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 41Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 42Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 43Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 44Page - STCmicro Technology Co,.Ltd STC89LE52RC Datasheet HTML 45Page - STCmicro Technology Co,.Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 41 / 165 page
background image
5.4 Instruction Definitions
ACALL addr 11
Function:
Absolute Call
Description:
ACALL unconditionally calls a subroutine located at the indicated address.The instruction
increments the PC twice to obtain the address of the following instruction, then pushes the
16-bit result onto the stack (low-order byte first) and increments the Stack Pointer twice.
The destination address is obtained by suceesively concatenating the five high-order bits of
the incremented PC opcode bits 7-5,and the second byte of the instruction. The subroutine
called must therefore start within the same 2K block of the program memory as the first
byte of the instruction following ACALL. No flags are affected.
Example:
Initially SP equals 07H. The label “SUBRTN” is at program memory location 0345H. After
executingthe instruction,
ACALL SUBRTN
at location 0123H, SP will contain 09H, internal RAM locations 08H and 09H will contain
25H and 01H, respectively, and the PC will contain 0345H.
Bytes:
2
Cycles:
2
Encoding:
a10 a9 a8 1
0 0 1 0
a7 a6 a5 a4
a3 a2 a1 a0
Operation:
ACALL
(PC)← (PC)+ 2
← (PC)+ 2
(PC)+ 2
(SP)←(SP) + 1
←(SP)+1
(SP) + 1
((sP)) ← (PC
← (PC
(PC
7-0)
(SP)←(SP) + 1
←(SP)+1
(SP) + 1
((SP))←(PC
←(PC
(PC
15-8)
(PC
10-0)← page address
← page address
page address
ADD A,<src-byte>
Function:
Add
Description:
ADD adds the byte variable indicated to the Accumulator, leaving the result in the
Accumulator. The carry and auxiliary-carry flags are set, respectively, if there is a carry-
out from bit 7 or bit 3, and cleared otherwise. When adding unsigned integers, the carry flag
indicates an overflow occured.
OV is set if there is a carry-out of bit 6 but not out of bit 7, or a carry-out of bit 7 but not bit
6; otherwise OV is cleared. When adding signed integers, OV indicates a negative number
produced as the sum of two positive operands, or a positive sum from two negative operands.
Four source operand addressing modes are allowed: register,direct register-indirect, or
immediate.
Example:
The Accumulator holds 0C3H(11000011B) and register 0 holds 0AAH (10101010B). The
instruction,
ADD A,R0
will leave 6DH (01101101B) in the Accumulator with the AC flag cleared and both the carry
flag and OV set to 1.
41



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


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
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