Electronic Components Datasheet Search
  English  ▼

X  

DEMO9RS08KA2 Datasheet(PDF) 13 Page - Freescale Semiconductor, Inc

Part # DEMO9RS08KA2
Description  Getting Started with RS08
PDF  34 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

DEMO9RS08KA2 Datasheet(HTML) 13 Page - Freescale Semiconductor, Inc

Back Button DEMO9RS08KA2 Datasheet HTML 9Page - Freescale Semiconductor, Inc DEMO9RS08KA2 Datasheet HTML 10Page - Freescale Semiconductor, Inc DEMO9RS08KA2 Datasheet HTML 11Page - Freescale Semiconductor, Inc DEMO9RS08KA2 Datasheet HTML 12Page - Freescale Semiconductor, Inc DEMO9RS08KA2 Datasheet HTML 13Page - Freescale Semiconductor, Inc DEMO9RS08KA2 Datasheet HTML 14Page - Freescale Semiconductor, Inc DEMO9RS08KA2 Datasheet HTML 15Page - Freescale Semiconductor, Inc DEMO9RS08KA2 Datasheet HTML 16Page - Freescale Semiconductor, Inc DEMO9RS08KA2 Datasheet HTML 17Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 34 page
background image
Introduction to RS08
Getting Started with RS08, Rev. 1
Freescale Semiconductor
13
1.2.1
Tiny and Short Addressing Mode Instructions
Tiny and short addressing mode instructions are single byte instructions. Maximizing the use of these
instructions can efficiently improve the overall code density. Given the limited addressable space for these
instructions, careful planning to allocate the most frequently used variables to be located within the tiny
and short addressable area is recommended. Table 1-3 summarizes the tiny and short instructions support
for the RS08 platform.
Push X (Index Register Low) onto
Stack
PSHX
Push (X); SP
← (SP) – $0001
Pull Accumulator from Stack
PULA
SP
← (SP + $0001); Pull (A)
Pull H (Index Register High) from
Stack
PULH
SP
← (SP + $0001); Pull (H)
Pull X (Index Register Low) from
Stack
PULX
SP
← (SP + $0001); Pull (X)
Reset Stack Pointer
RSP
SP
← $FF
Return from Interrupt
RTI
SP
← (SP) + $0001; Pull (CCR)
SP
← (SP) + $0001; Pull (A)
SP
← (SP) + $0001; Pull (X)
SP
← (SP) + $0001; Pull (PCH)
SP
← (SP) + $0001; Pull (PCL)
Swap Shadow PC High with A
SHA
A
⇔ SPCH
Swap Shadow PC Low with A
SLA
A
⇔ SPCL
Set Carry Bit
SEC
SEC
C
← 1
Set Interrupt Mask Bit
SEI
I
← 1
Enable IRQ pin; Stop Osc.
STOP
STOP
Stop Oscillator
I bit
← 0 for S08 only;
Software Interrupt
SWI
PC
← (PC) + $0001; Push (PCL)
SP
← (SP) – $0001; Push (PCH)
SP
← (SP) – $0001; Push (X)
SP
← (SP) – $0001; Push (A)
SP
← (SP) – $0001; Push (CCR)
SP
← (SP) – $0001; I ← 1
PCH
← Interrupt Vector High Byte
PCL
← Interrupt Vector Low Byte
Enable Interrupts; Stop Processor WAIT
WAIT
I bit
← 0 for S08 only;
NOTES:
1 This is pseudo-instruction, the CPU cycle count and the instruction byte count may not be the same as the S08 equivalent
instruction.
2 This emulated operation do not have an equivalent operation in S08 instruction set.
Table 1-2. RS08 and S08 Instruction Set Comparison (continued)
Description
RS08
S08
Operation



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


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