English
Language : 

E909-05 Datasheet, PDF (26/67 Pages) ELMOS Semiconductor AG – The HALIOS® multi purpose optical sensor is based on an optical bridge which provides a contactless detec-tion of gestures (e.g. movement of a finger).
HALIOS® MULTI-PURPOSE OPTICAL SENSOR WITH HIGH LIGHT IMMUNITY
E909.05
PRELIMINARY INFORMATION AUG 02, 2011
As/Ad
11/-
Addressing Mode
Immediate mode
Syntax
#N
Table 6.4.1: Addressing Modes Table
Description
The word following the instruction con-
tains the immediate constant N. Indirect
auto-increment mode @PC+ is used.
6.5 EL16 Instruction Set
The complete EL16 instruction set consists of 27 core instructions and 24 emulated instructions. The core
instructions are instructions that have unique op-codes decoded by the CPU. The emulated instructions are
instructions that make code easier to write and read, but do not have op-codes themselves, instead they are
replaced automatically by the assembler with an equivalent core instruction. There is no code or performance
penalty for using emulated instruction.
There are three core-instruction formats:
• Dual-operand
• Single-operand
• Jump
All single-operand and dual-operand instructions can be byte or word instructions by using .B or .W exten-
sions. Byte instructions are used to access byte data or byte peripherals. Word instructions are used to
access word data or word peripherals. If no extension is used, the instruction is a word instruction.
The source and destination of an instruction are defined by the following fields:
Abbr.
src
dst
As
S-reg
Ad
D-reg
B/W
Table 6.5.1: source and destination of an instruction
Description
The source operand defined by As and S-reg
The destination operand defined by Ad and D-reg
The addressing bits responsible for the addressing
mode used for the source (src)
The working register used for the source (src)
The addressing bits responsible for the addressing
mode used for the destination (dst)
The working register used for the destination (dst)
Byte or word operation: 0: word operation, 1: byte
operation
The following tables shows coding table of the 16 bit opcode:
This document contains information on a pre-production product. ELMOS Semiconductor AG reserves the right to change specifications and information herein without notice.
ELMOS Semiconductor AG
Data Sheet 26 / 67
QM-No.: 25DS0014E.00