Electronic Components Datasheet Search
  English  ▼

X  

ADAM27P16 Datasheet(PDF) 28 Page - ABOV Semiconductor Co., Ltd.

Part # ADAM27P16
Description  4-BIT SINGLE CHIP MICROCOMPUTERS
PDF  39 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ABOV [ABOV Semiconductor Co., Ltd.]
Direct Link  https://www.abov.co.kr/kr/main.php
Logo ABOV - ABOV Semiconductor Co., Ltd.

ADAM27P16 Datasheet(HTML) 28 Page - ABOV Semiconductor Co., Ltd.

Back Button ADAM27P16 Datasheet HTML 24Page - ABOV Semiconductor Co., Ltd. ADAM27P16 Datasheet HTML 25Page - ABOV Semiconductor Co., Ltd. ADAM27P16 Datasheet HTML 26Page - ABOV Semiconductor Co., Ltd. ADAM27P16 Datasheet HTML 27Page - ABOV Semiconductor Co., Ltd. ADAM27P16 Datasheet HTML 28Page - ABOV Semiconductor Co., Ltd. ADAM27P16 Datasheet HTML 29Page - ABOV Semiconductor Co., Ltd. ADAM27P16 Datasheet HTML 30Page - ABOV Semiconductor Co., Ltd. ADAM27P16 Datasheet HTML 31Page - ABOV Semiconductor Co., Ltd. ADAM27P16 Datasheet HTML 32Page - ABOV Semiconductor Co., Ltd. Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 39 page
background image
Page 27 of 38
ADAM27PXX
3. Instruction
(16) CAL a
Naming :
Subroutine Call on status 1
Status :
Conditional depending on the status
Format :
Ⅳ
Operand :
Subroutine code address a (Addr)
Function :
When ST =1 :
PC ← a (Addr)
PA ← PB
BA ← BB
SR1 ← PC + 1
PSR1 ← PA
BSR1 ← BA
SR2 ← SR1
PSR2 ← PSR1
BSR2 ← BSR1
SR3 ← SR2
PSR3 ← PSR2
BSR3 ← BSR2
When ST = 0 :
PC ← PC + 1
PA ← PA
BA ← BA
ST ← 1
Note : PC actually has pseudo-random count against the next instruction.
<Comment>
In a program, control is allowed to be transferred to a mutual
subroutine. Since a call instruction preserves the return
address, it is possible to call the subroutine from different
locations in a program, and the subroutine can return control
accurately to the address that is preserved by the use of the
call return instruction (RTN).
Such calling is always conditional depending on the status.
a. If the status is reset, call is not executed.
b. If the status is set, call is rightly executed.
The subroutine stack (SR) of three levels enables a subroutine to be
manipulated on three levels. Besides, a long call (to call another page)
can be executed on any level.
For a long call, LBBY or LPBI instruction should be executed before
the CAL. When LBBY or LPBI is omitted (and when BA=BB and PA=PB),
a short call (calling in the same page) is executed.
(17) RTN
Naming :
Return from Subroutine
Status :
Set
Format :
Ⅰ
Function :
PC ← SR1
PA, PB ← PSR1
BA, BB ← BSR1
SR1 ← SR2
PSR1 ← PSR2
BSR1 ← BSR2
SR2 ← SR3
PSR2 ← PSR3
BSR2 ← BSR3
SR3 ← SR3
PSR3 ← PSR3
BSR3 ← BSR3
ST ← 1
<Purpose>
Control is returned from the called subroutine to the calling
program.
<Comment>
Control is returned to its home routine by transferring to the
PC the data of the return address that has been saved in the stack
register (SR1).
At the same time, data of the page stack register (PSR1) is
transferred to the PA and PB, and data of the block stack register(BSR1)
is transferred to the BA and BB.



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


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