Intel 8XC251SA User Manual page 312

Embedded microcontroller
Hide thumbs Also See for 8XC251SA:
Table of Contents

Advertisement

8XC251SA, SB, SP, SQ USER'S MANUAL
ECALL @DRk
Binary Mode
Bytes:
States:
[Encoding]
1 0 0 1
Hex Code in:
Binary Mode = [A5][Encoding]
Source Mode = [Encoding]
Operation:
ECALL
(PC) ← (PC) + 4
(SP) ← (SP) + 1
((SP)) ← (PC.23:16)
(SP) ← (SP) + 1
((SP)) ← (PC.15:8)
(SP) ← (SP) + 1
((SP)) ← (PC.7:0)
(PC) ← ((DRk))
EJMP <dest>
Function:
Extended jump
Description:
Causes an unconditional branch to the specified address by loading the 8 bits of the high
order and 16 bits of the low order words of the PC with the second, third, and fourth
instruction bytes. The destination may be therefore be anywhere in the full 16-Mbyte
memory space.
Flags:
CY
Example:
The label "JMPADR" is assigned to the instruction at program memory location 123456H.
The instruction is
EJMP JMPADR
Variations
EJMP addr24
Binary Mode
Bytes:
States:
[Encoding]
1 0 0 0
Hex Code in:
Binary Mode = [A5][Encoding]
Source Mode = [Encoding]
Operation:
EJMP
(PC) ← (addr.23:0)
A-60
Source Mode
3
2
12
11
1 0 0 1
AC
Source Mode
5
4
6
5
1 0 1 0
u u u u
OV
N
addr23–
addr15–addr8
addr16
Z
addr7–addr0

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc251sb8xc251sp8xc251sq

Table of Contents