Intel 8XC196MD, 8XC196MH, 8XC196MC manual Rst, Scall

Models: 8XC196MD 8XC196MH 8XC196MC

1 579
Download 579 pages 24.12 Kb
Page 420
Image 420

 

 

 

 

 

 

 

 

 

INSTRUCTION SET REFERENCE

 

 

 

Table A-6. Instruction Set (Continued)

 

 

 

 

 

 

 

 

 

 

 

Mnemonic

 

 

 

Operation

 

 

 

 

Instruction Format

 

 

 

 

RST

RESET SYSTEM. Initializes the PSW to zero,

 

 

 

the PC to 2080H, and the pins and SFRs to

RST

 

 

their reset values. Executing this instruction

 

 

(11111111)

 

causes the RESET# pin to be pulled low for

 

 

 

 

16 state times.

 

 

 

 

 

 

 

 

SFR Reset Status

 

 

 

 

 

 

 

Pin Reset Status

 

 

 

 

 

 

 

PSW 0

 

 

 

 

 

 

 

 

 

PC 2080H

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

 

 

 

Z

N

C

V

VT

ST

 

 

 

 

 

0

0

0

0

0

0

 

 

 

 

 

 

 

SCALL

SHORT CALL. Pushes the contents of the

 

 

 

program counter (the return address) onto

SCALL

cadd

 

the stack, then adds to the program counter

 

(00101xxx) (disp-low)

 

the offset between the end of this instruction

 

 

 

 

and the target label, effecting the call. The

 

 

 

offset must be in the range of –1024 to

NOTE:

The displacement (disp) is sign-

 

+1023.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

extended to 16-bits.

 

SP SP – 2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(SP) PC

 

 

 

 

 

 

 

 

 

PCPC +11-bit disp

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

 

 

 

Z

N

C

V

VT

ST

 

 

 

 

 

— —

 

 

 

 

 

 

 

 

SETC

SET CARRY FLAG. Sets the carry flag.

 

 

 

C 1

 

 

 

 

 

 

SETC

 

 

 

 

 

 

 

 

 

 

(11111001)

 

 

 

PSW Flag Settings

 

 

 

 

 

 

Z

N

C

V

VT

ST

 

 

 

 

 

1

— —

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A-31

Page 420
Image 420
Intel 8XC196MD, 8XC196MH, 8XC196MC manual Rst, Scall