<center id="mwy2r"><delect id="mwy2r"><strike id="mwy2r"></strike></delect></center>
<code id="mwy2r"><pre id="mwy2r"></pre></code>
  • 參數(shù)資料
    型號: 4559
    廠商: Renesas Technology Corp.
    英文描述: SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
    中文描述: 單芯片4位微機的CMOS
    文件頁數(shù): 60/148頁
    文件大?。?/td> 1732K
    代理商: 4559
    Rev.1.04
    Aug 23, 2007
    Page 19 of 146
    REJ03B0188-0104
    4559 Group
    (5) Stack registers (SKs) and stack pointer (SP)
    Stack registers are 14-bit registers.
    Stack registers (SKs) are used to temporarily store the contents of
    program counter (PC) just before branching until returning to the
    original routine when;
    branching to an interrupt service routine (referred to as an
    interrupt service routine),
    performing a subroutine call, or
    executing the table reference instruction (TABP p).
    Stack registers (SKs) are eight identical registers, so that
    subroutines can be nested up to 8 levels. However, one of stack
    registers is used respectively when using an interrupt service
    routine and when executing a table reference instruction.
    Accordingly, be careful not to over the stack when performing
    these operations together. The contents of registers SKs are
    destroyed when 8 levels are exceeded.
    The register SK nesting level is pointed automatically by 3-bit
    stack pointer (SP). The contents of the stack pointer (SP) can be
    transferred to register A with the TASP instruction.
    Figure 16 shows the stack registers (SKs) structure.
    Figure 17 shows the example of operation at subroutine call.
    (6) Interrupt stack register (SDP)
    Interrupt stack register (SDP) is a 1-stage register. When an
    interrupt occurs, this register (SDP) is used to temporarily store
    the contents of data pointer, carry flag, skip flag, register A, and
    register B just before an interrupt until returning to the original
    routine.
    Unlike the stack registers (SKs), this register (SDP) is not used
    when executing the subroutine call instruction and the table
    reference instruction.
    (7) Skip flag
    Skip flag controls skip decision for the conditional skip
    instructions and continuous described skip instructions. When an
    interrupt occurs, the contents of skip flag is stored automatically
    in the interrupt stack register (SDP) and the skip condition is
    retained.
    Fig 16. Stack registers (SKs) structure
    Fig 17. Example of operation at subroutine call
    Program counter (PC)
    SK0
    SK1
    SK2
    SK3
    SK4
    SK5
    SK6
    SK7
    (SP) = 0
    (SP) = 1
    (SP) = 2
    (SP) = 3
    (SP) = 4
    (SP) = 5
    (SP) = 6
    (SP) = 7
    Stack pointer (SP) points “7” at reset or
    returning from power down mode.
    It points “0” b y executing the first B M
    instruction, and the contents of program
    counter is stored in SK0.
    When the BM instruction is executed after
    eight stack registers are used ((SP) = 7), (SP)
    = 0 and the contents of SK0 is destroyed.
    Executing BM instruction
    Executing RT instruction
    (SP)
    ← 0
    (SK0)
    000116
    (PC)
    SUB1
    (PC)
    (SK0)
    (SP)
    7
    Main program
    Address
    000016 NOP
    000116 BM SUB1
    000216 NOP
    SUB1:
    NOP
    RT
    Subroutine
    Note :Returning to the BM instruction execution
    address with the RT instruction, and the BM
    instruction becomes the NOP instruction.
    ..
    .
    相關(guān)PDF資料
    PDF描述
    456700000 Terminal Block; Leaded Process Compatible:Yes
    457000000 Cross Connector; Number of Positions:10; Current Rating:24 VA
    45714-0003 Edge Connector,PCB Mnt,RECEPT,8 Contacts,0.507 Pitch,COMPLIANT FIT Terminal,GUIDE SLOT
    45714-0001 Card Edge Connector; No. of Contacts:4; Pitch Spacing:0.508"; Contact Termination:Press-Fit; Body Material:LCP Liquid Crystal Polymer, Glass-filled; Mounting Type:Through Hole; Series:45714; Color:Black; Voltage Rating:250V RoHS Compliant: Yes
    45714-0002 Card Edge Connector; No. of Contacts:6; Pitch Spacing:0.508"; Contact Termination:Press-Fit; Body Material:LCP Liquid Crystal Polymer, Glass-filled; Mounting Type:Through Hole; Series:45714; Color:Black; Voltage Rating:250V RoHS Compliant: Yes
    相關(guān)代理商/技術(shù)參數(shù)
    參數(shù)描述
    4559_08 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:Standard Characteristics
    45-590 制造商:GC Electronics 功能描述:Conn D-Subminiature Adapter F/F 9/15 POS ST 1 Port
    45-590 4/PK 功能描述:電纜組件 DB-9F DB-15F HI DEN RoHS:否 制造商:Molex 產(chǎn)品:Power Assemblies 類型:Cable Assembly 連接器端口 A:No Connector 連接器端口 A 管腳計數(shù):4 連接器端口 B:No Connector 連接器端口 B 管腳計數(shù): 型式:Male 線規(guī) - 美國線規(guī)(AWG):20, 28 長度:0.305 m 顏色:Black, Red
    4-5-5906 功能描述:TAPE 5906 VHB FOAM 4" X 5YD 制造商:3m (tc) 系列:* 零件狀態(tài):有效 標(biāo)準(zhǔn)包裝:1
    4-5-5907 功能描述:TAPE 5907 VHB FOAM 4" X 5YD 制造商:3m (tc) 系列:* 零件狀態(tài):有效 標(biāo)準(zhǔn)包裝:1