English
Language : 

SD6830 Datasheet, PDF (23/34 Pages) AUK corp – 4BIT MICROCONTROLLER
CLRB K
Binary code
Syntax
Operation
Flags
Words/Cycles
Description
Example
: 00101110
: [<label>] CLRB K
: (K) 0
: CY: Unaffected
SF: Unaffected
: 1/1
: Clears the port K to zero.
: CLRB K ; Clear K to zero.
SD6830
IF0 @HL.b
Binary code : 000001xx
Syntax
: [<label>] IF0 @HL.b
Operation
: M[(HL)b] = 0
Flags
: CY: Unaffected
SF: Set to one if equal, cleared otherwise
Words/Cycles : 1/1
Description
: Compares the specified bit of data memory addressed by registers H
and L with zero.
Example
: SETB H
; Set H to one
LDL 4
; Load 4 to L
IF0 @HL.3 ; Compare the bit 3 of M[(14)] with zero
JMP 020 ; Jump to 020 if not equal
JMP 030 ; Jump to 030 if equal
IF0 CY
Binary code : 00011100
Syntax
: [<label>] IF0 CY
Operation
: (CY) = 0
Flags
: CY : Unaffected
SF : Set to one if equal, cleared otherwise
Words/Cycles : 1/1
Description : Compares the carry flag with zero.
Example
: IF0 CY ; Compare the content of CY to zero
JMP 030 ; Jump to 030 if not equal
JMP 040 ; Jump to 040 if equal
KSI-W002-000
23