Samsung KS57C2308 Manual page 150

Single-chip cmos microcontroller
Table of Contents

Advertisement

SAM47 INSTRUCTION SET
REF
— Reference Instruction
REF
(Continued)
Examples:
1. Instructions can be executed efficiently using REF, as shown in the following example:
AAA
BBB
CCC
DDD
2. The following example shows how the REF instruction is executed in relation to LD
instructions that have a "redundancy effect":
AAA
5-76
ORG
0020H
LD
HL,#00H
LD
EA,#FFH
TCALL
SUB1
TJP
SUB2
ORG 0080H
REF
AAA
REF
BBB
REF
CCC
REF
DDD
ORG
0020H
LD
EA,#40H
ORG
0100H
LD
EA,#30H
REF
AAA
REF
AAA
LD
EA,#50H
SRB
2
; LD
HL,#00H
; LD
EA,#FFH
; CALL
SUB1
; JP
SUB2
; Not skipped
; Skipped
KS57C2308/P2308/C2316/P2316

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

P2308C2316P2316Ks57p2308Ks57c2316Ks57p2316

Table of Contents