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

SD6830 View Datasheet(PDF) - AUK -> KODENSHI CORP

Part Name
Description
Manufacturer
SD6830
AUK
AUK -> KODENSHI CORP AUK
SD6830 Datasheet PDF : 34 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
SD6830
IFEQU @HL
Binary code
Syntax
Operation
Flags
Words/Cycles
Description
Example
IFEQU n
Binary code
Syntax
Operation
Flags
Words/Cycles
Description
Example
INC L
Binary code
Syntax
Operation
Flags
Words/Cycles
Description
Example
: 00001111
: [<label>] IFEQU @HL
: (A) = M[(HL)]
: CY : Unaffected
SF : Set to one if equal, cleared otherwise
: 1/1
: Compares the contents of accumulator with the contents of data
memory addressed by registers H and L.
: LDA 14 ; Load 14 to A, and 14 must be decimal number
SETB H ; Sets H to one
LDL 4 ; Loads 4 to L
IFEQU @HL ; Compares 14 with M[(14)]
JMP 050 ; Jump to 050 if not equal
JMP 060 ; Jump to 060 if equal
: 00001110
0111xxxx
: [<label>] IFEQU n
: (A) = n, n = 0 ~15 ( n must be decimal number )
: CY: Unaffected
SF: Set to one if equal, cleared otherwise
: 2/2
: Compares the contents of accumulator with an immediate data.
: IFEQU 15 ; Compare the contents of accumulator with 15
JMP 070 ; Jump to 070 if not equal
JMP 080 ; Jump to 080 if equal
: 00100010
: [<label>] INC L
: (L) (L) + 1
: CY : Unaffect SF:As a result of execution, set to one if the contents
of register L are zero, cleared otherwise.
: 1/1
: The contents of register L are incremented by one.
: LDL 14 ; Load 14 to L
INC L ; The contents of L are incremented by one
INC L ; The contents of L are incremented by one
JMP 090 ; It is skipped because the contents of L is
JMP 0A0 ; Jump to 0A0
KSI-W002-000
24

Share Link: 

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