English
Language : 

SD6830 Datasheet, PDF (21/34 Pages) AUK corp – 4BIT MICROCONTROLLER
CALL addr
SD6830
Binary code : 010100xx
xxxxxxxx
Syntax
: [<label>] CALL addr
Operation : (SK1) (SK0), (SK0) (PC) + 1, (PC) addr, addr = 000 ~ 3FF
( addr must be hexadecimal number )
Flags
: CY: Unaffected
SF: Unaffected
Words/Cycles : 2/2
Description : Calls a subroutine located at the indicated address and pushes the
current contents of the program counter to the top of stack. The
indicated address can be anywhere in the full 1Kbyte memory space.
Example
: CALL 2FF ; Call subroutine located at the 2FF.
The 2FF must be logical address.
CLRB @HL.b
Binary code : 010110xx
Syntax
: [<label>] CLRB @HL.b
Operation : M[(HL)].b 0
Flags
: CY: Unaffected
SF: Unaffected
Words/Cycles : 1/1
Description : Clears the specified bit of data memory addressed by registers H and L
to zero.
Example
: CLRB H
; Clear H to 0
LDL 10
; Load 10 to L. The 10 must be decimal number.
CLRB @HL.0 ; Clear the bit 0 of M[(0A)] to 0.
CLRB CY
Binary code : 00001000
Syntax
: [<label>] CLRB CY
Operation : (CY) 0
Flags
: CY: Set to zero
SF: Unaffected
Words/Cycles: 1/1
Description : Clears the carry flag to zero.
Example
: CLRB CY ; Clear CY to zero
KSI-W002-000
21