DatasheetQ Logo
Electronic component search and free download site.
Transistors,MosFET ,Diode,Integrated circuits

S3C1840 View Datasheet(PDF) - Samsung

Part Name
Description
Manufacturer
S3C1840 Datasheet PDF : 91 Pages
First Prev 31 32 33 34 35 36 37 38 39 40 Next Last
INSTRUCTION SET
S3C1840/C1850/C1860/P1860
PAGE #n
Binary Code:
Description:
Operation:
Flags:
Example:
0001 dddd
The immediate 4-bit value specified by n (data) is loaded into the PB register.
(PB) #n
SF : Set to one
SL : Unaffected
PAGE #3H
; Move 3H to page buffer
JP
AN
; Jump to label AN located at page 3 if SF is one;
otherwise, it is skipped
CPNE @HL,A
Binary Code:
Description:
Operation:
Flags:
Example:
0000 0000
The contents of accumulator are compared to the contents of indirect data memory; an
appropriate flag is set if their values are not equal.
The contents of both operands are unaffected by the comparison.
M [(H,L)] (A)
SF : Set if not equal, cleared otherwise
SL : Unaffected
CLR
A
ADDS A,#3H
MOV
H,#0H
MOV
L,#6H
CPNE @HL,A
; Acc value 3H is compared to contents of RAM address 06H
JP
OA
; Jump to OA if values of RAM address 06H are not 3h
JP
OB
; Jump to OB if values of RAM address 06H are 3H
5-8
 

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]