RS08KA2 PROMO Freescale Semiconductor, RS08KA2 PROMO Datasheet - Page 5

DEMO KIT, SILICON BUNDLE, RS08KA2

RS08KA2 PROMO

Manufacturer Part Number
RS08KA2 PROMO
Description
DEMO KIT, SILICON BUNDLE, RS08KA2
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of RS08KA2 PROMO

Kit Contents
DEMO9RS08KA2 Board, USB Cable, Quick Start Guide, User Manual, Packing List
Svhc
No SVHC (15-Dec-2010)
Development Tool Type
Demonstration Kit
Kit Features
RS08KA2 Microcontroller,
Silicon Manufacturer
Freescale
Core Architecture
RS08
Core Sub-architecture
RS08
Silicon Core Number
MC9RS08
Silicon Family Name
RS08KA
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
1.1.3.1
The inherent addressing, direct addressing, relative addressing, immediate addressing, and extended
addressing modes in RS08 have identical operation as in the HC08/S08 platform. Inherent addressing is
used when the CPU inherently knows all the information needed to complete the instruction and no
addressing information is supplied in the source code. Relative addressing is used to specify the offset
address for branch instructions relative to the program counter. Immediate addressing is used when an
explicit value to be used by the instruction is located immediately after the opcode in the instruction
stream. Direct addressing is used to access operands located in direct address space ($0000 through
$00FF). Extended addressing is used to specify 2-byte operand to the instructions. This addressing mode
is only used in JMP and JSR instructions where the 14-bit target address is specified in the operand.
1.1.3.2
Tiny and short addressing modes are introduced in the RS08 platform. These addressing modes have
similar operations to direct addressing mode but the addressable space is limited. Only portion of direct
address space within $0000–$00FF can be accessed by these addressing modes. However, all instructions
associated with these addressing modes are single byte instructions. Maximizing the utilization of these
instructions can reduce the overall code size.
Tiny addressing mode is capable of addressing only the first 16 bytes in the address map, from $0000 to
$000F. This addressing mode is available for increment (INC), decrement (DEC), add (ADD), and subtract
(SUB) instructions. Equivalent instructions are also available in direct addressing mode, 2-byte
instructions, where the addressable space is from $0000–$00FF. User should add the less than symbol (<)
before the operand in the source code as shown below, this forces the assembler to use tiny addressing
instructions instead.
Short addressing mode is capable of addressing only the first 32 bytes in the address map, from $0000 to
$001F. This addressing mode is available for clear (CLR), load accumulator A (LDA), and store
accumulator A (STA) instructions. Similar to tiny addressing instructions equivalent instructions are also
available in direct address mode. User should add the less than symbol (<) before the operand as shown
below to force the assembler to use short addressing instructions.
1.1.3.3
Using the special registers, D[X] and X, the RS08 generic instruction set can be used to emulate some of
the accumulator X operations in the HC08/S08 architecture. This emulation is supported by the
assembler/compiler and it is done during the time of compilation. When zero offset indexing instructions
or register X related operations are involved, user can use the same HC08/S08 coding syntax for RS08
programming. During compilation the assembler will convert the pseudo RS08 instructions to equivalent
generic RS08 instructions. This operation is transparent to the user.
Freescale Semiconductor
INC <$0D
DEC <$0D
ADD <$0D
SUB <$0D
CLR <$1F
LDA <$1F
STA <$1F
Addressing Modes Common to HC08/S08 Platforms
Tiny and Short Addressing Modes
Pseudo Addressing Modes
Getting Started with RS08, Rev. 1
Introduction to RS08
5

Related parts for RS08KA2 PROMO