KS57C2308/P2308/C2316/P2316

SAM47 INSTRUCTION SET

 

 

REF — Reference Instruction

REF(Concluded)

Examples: 3. In this example the binary code of “REF A1” at locations 20H–21H is 20H, for “REF A2” at locations 22H–23H, it is 21H, and for “REF A3” at 24H–25H, the binary code is 22H :

Opcode

Symbol

Instruction

 

 

 

 

 

 

ORG

0020H

 

 

 

83

00

A1

LD

HL,#00H

 

 

 

83

03

A2

LD

HL,#03H

 

 

 

83

05

A3

LD

HL,#05H

 

 

 

83

10

A4

LD

HL,#10H

 

 

 

83

26

A5

LD

HL,#26H

 

 

 

83

08

A6

LD

HL,#08H

 

 

 

83

0F

A7

LD

HL,#0FH

 

 

 

83

F0

A8

LD

HL,#0F0H

 

 

 

83

67

A9

LD

HL,#067H

 

 

 

41

0B

A10

TCALL

SUB1

 

 

 

01

0D

A11

TJP

SUB2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ORG

0100H

 

 

 

20

 

 

REF

A1

;

LD

HL,#00H

21

 

 

REF

A2

;

LD

HL,#03H

22

 

 

REF

A3

;

LD

HL,#05H

23

 

 

REF

A4

;

LD

HL,#10H

24

 

 

REF

A5

;

LD

HL,#26H

25

 

 

REF

A6

;

LD

HL,#08H

26

 

 

REF

A7

;

LD

HL,#0FH

27

 

 

REF

A8

;

LD

HL,#0F0H

30

 

 

REF

A9

;

LD

HL,#067H

31

 

 

REF

A10

;

CALL

SUB1

32

 

 

REF

A11

;

JP

SUB2

5-77

Page 151
Image 151
Samsung KS57C2308 manual Opcode Symbol Instruction, HL,#0FH, Tcall SUB1, TJP SUB2 ORG, Call SUB1