參數(shù)資料
型號: HMS38112
廠商: Electronic Theatre Controls, Inc.
英文描述: 4-BIT SINGLE CHIP MICROCOMPUTERS
中文描述: 4位單片機微機
文件頁數(shù): 49/73頁
文件大?。?/td> 505K
代理商: HMS38112
4-10
(16) CAL a
Naming :
Status :
Format :
Operand :
Function :
Subroutine Call on status 1
Conditional depending on the status
ì
Subroutine code address a(Addr)
When ST =1 , PC
à
a(Addr)
SR1
à
PC + 1,
SR2
à
SR1
SR3
à
SR2
When ST = 0
PC
à
PC + 1
Note : PC actually has pseudo-random count against the next
instruction.
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.
PA
à
PB
PSR1
à
PA
PSR2
à
PSR1
PSR3
à
PSR2
PB
à
PS ST
à
1
<Comment>
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, an LPBI instruction should be executed before
the CAL. When LPBI is omitted (and when PA=PB), a short
call (calling in the same page) is executed.
Chapter 4. Instruction
相關(guān)PDF資料
PDF描述
HMS39112 4-BIT SINGLE CHIP MICROCOMPUTERS
HMS39C70512 [ARM7 Core Base Solution Product]
HMS39C7092 MMBTA42, 300V, 0.5A, 300MW, SOT-23
HMS77C2000 [General Purpose(2) : ADC/ LED/ SCI/ PWM]
HMS77C2001 [General Purpose(2) : ADC/ LED/ SCI/ PWM]
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HMS38T2564 制造商:未知廠家 制造商全稱:未知廠家 功能描述:32bit CPU, 64Kbyte EEPROM, 256Kbyte ROM, 8Kbyte RAM
HMS39112 制造商:未知廠家 制造商全稱:未知廠家 功能描述:4-BIT SINGLE CHIP MICROCOMPUTERS
HMS39C70512 制造商:未知廠家 制造商全稱:未知廠家 功能描述:[ARM7 Core Base Solution Product]
HMS39C7092 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:Embedded Flash MCU
HMS3S800 制造商:Siemens 功能描述: