DESCRIPTION OF INSTRUCTIONS

50. LCALL code address (Long call)

 

 

7

 

 

 

 

 

 

 

 

0

 

Instruction code

:

0

0

0

1

 

 

0

0

1

0

Byte 1

 

 

7

 

 

 

 

 

 

 

 

0

 

Call address

 

A15

A14

A13

A12

 

 

A11

A10

A9

A8

Byte 2

 

 

7

 

 

 

 

 

 

 

 

0

 

Call address

 

A7

A6

A5

A4

 

 

A3

A2

A1

A0

Byte 3

Operations

: (PC)(PC)+3

 

 

 

 

 

 

 

 

 

 

(SP)(SP)+1

 

 

 

 

 

 

 

 

 

 

((SP))(PC0~7)

 

 

 

 

 

 

 

 

 

 

(SP)(SP)+1

 

 

 

 

 

 

 

 

 

 

((SP))(PC8~15)

 

 

 

 

 

 

 

 

 

 

(PC0~15)A0~15

 

 

 

 

 

 

 

 

Number of bytes

: 3

 

 

 

 

 

 

 

 

 

 

Number of cycles

: 2

 

 

 

 

 

 

 

 

 

 

Flags

:

C

AC

F0

RS1

 

 

RS0

OV

F1

P

 

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

: The contents of the program counter (return address) are

 

 

pushed in the stack following an increment.

 

Call address A0~15 specified by operand are placed in the program counter PC0~15.

This instruction is capable of call to anywhere within the entire range of 64K words.

309

Page 316
Image 316
Sonic Alert msm80154s, msm83c154s, msm85c154hvs user manual Lcall code address Long call, 309