S3C72G9 Samsung semiconductor, S3C72G9 Datasheet - Page 79

no-image

S3C72G9

Manufacturer Part Number
S3C72G9
Description
The S3C72G9 single-chip CMOS microcontroller has been designed for high performance using Samsungs newest 4-bit CPU core/ SAM47 (Samsung Arrangeable M
Manufacturer
Samsung semiconductor
Datasheet
 

REF
Examples:
(Continued)
1. Instructions can be executed efficiently using REF, as shown in the following example:
2. The following example shows how the REF instruction is executed in relation to LD
AAA
BBB
CCC
DDD
instructions that have a 'redundancy effect':
AAA
ORG
LD
TCALL
TJP



ORG
REF
REF
REF
REF
ORG
LD



ORG
LD
REF



REF
LD
SRB
LD

0020H
EA,#FFH
SUB1
SUB2
0080H
AAA
BBB
CCC
DDD
0020H
0100H
EA,#30H
AAA
AAA
EA,#50H ; Skipped
2
HL,#00H
EA,#40H
; CALL
; JP
; LD
; LD
; Not skipped
HL,#00H
EA,#FFH
SUB1
SUB2
   


Related parts for S3C72G9