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

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
6.5 Arithmetic and Logic Unit (ALU)
This unit is used to perform arithmetic and logical operations such as addition,
comparison, and bit manipulation.
6.6 Carry Flag (CY)
The carry flag contains the carry generated by the arithmetic and logical unit immediately
after an operation. The set carry (SETB CY) and clear carry (CLRB CY) instructions allow
direct access for setting and clearing this flag.
6.7 Skip Flag (SF)
The skip flag is a 1-bit register, which enables programs to conditionally skip an instruction.
All instructions are executed when this flag is
NOP instruction and resets SF to “0”. Then program execution proceeds.
The following instructions affect the skip flag
The instructions, which doesn t affect the skip flag but have a skip condition, are as follows.
Arithmetic
Compare
Data Transfer
Data
Transfer
Bit
Manipulate
Instructions
Instructions
LDA n
LDL n
SETB H
CLRB H
INC L
IF0 CY
IFEQU @HL
IFEQU n
ADD n
IF0 @HL.b
STA @HL+
XCH @HL+
KSI-W002-000
If carry occurs
M[HL].b = 0
(L) = 0
(L) = 0
If it is continuous, skip next same
instruction.
If it is continuous, skip next same
instruction.
If SETB H or CLRB H are continuous,
skip next
SETB H or CLRB H instruction.
(CY) = 0
(L) = 0
(A) = M[HL].b
(A) = n
Set conditions of SF
Skip conditions
, the program executes
SD6830
8

Related parts for SD6830P