SD6830P AUK [AUK corp], SD6830P Datasheet - Page 20

no-image

SD6830P

Manufacturer Part Number
SD6830P
Description
4BIT MICROCONTROLLER
Manufacturer
AUK [AUK corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
SD6830PR-M
Quantity:
946
9.3 Instruction Descriptions
Binary code
Syntax
Operation
Flags
Words/Cycles
Description
the accumulate.
Example
Binary code
Syntax
Operation
Flags
Words/Cycles
Example
Binary code
Syntax
Operation
Flags
Words/Cycles : 1/1
Description
Example
Description
ADD n
ADDC @HL
CAL addr
: 11xxxxxx
: [<label>] CAL addr
: CAL 100 : Call subroutine located at the 100. The 100 must be logical
: (SK1) ← (SK0), (SK0) ← (PC) + 1, (PCL) ← addr, addr = 000 ~ 03F
: CY: Unaffected
: Calls a subroutine located at the indicated address and pushes the current
: [<label>] ADDC @HL
: (A) ← (A) + M[(HL)] + (CY), (CY) ← Carry
: CY: Set on carry-out of (A) + M[(HL)] + (CY)
: Adds an immediate data to the accumulator and stores the result in
: 1/1
: Adds the contents of the accumulator, the contents of data memory
: CLRB
: 0110xxxx
: 1/1
: ADD 8
00010000
: [<label>] ADD n
: (A) ← (A) + n, n=0~15 ( n must be decimal number )
contents of the program counter to the top of stack. The indicated address
must be within the current page.
: CY: Unaffected. SF: Set to one if carry occurs, cleared otherwise.
JMP 035
JMP 05F
SF: Unaffected
addressed by registers H and L, and the carry bit. It stores the result in
the accumulator and the carry flag.
CLRB
ADDC
LDA
LDL
@HL ; Add the content of A, M[(06)], and the content of CY
CY
H
6
5
;
;
;
address and within the current page.
; Clear CY to zero
; Clear H to zero
; Load 6 to L
; Load 5 to A
Add 8 to A.
Jump to 05F if 8≤A≤15
Jump to 035 if 0≤A≤7
SF: Unaffected
KSI-W002-000
( addr must be hexadecimal number )
SD6830
20

Related parts for SD6830P