欢迎访问ic37.com |
会员登录 免费注册
发布采购

DR805X 参数 Datasheet PDF下载

DR805X图片预览
型号: DR805X
PDF下载: 下载PDF文件 查看货源
内容描述: 8位RISC微控制器指令集的详细信息3.10版本 [8-bit RISC Microcontroller Instructions set details ver 3.10]
分类和应用: 微控制器
文件页数/大小: 79 页 / 249 K
品牌: DCD [ DIGITAL CORE DESIGN ]
 浏览型号DR805X的Datasheet PDF文件第68页浏览型号DR805X的Datasheet PDF文件第69页浏览型号DR805X的Datasheet PDF文件第70页浏览型号DR805X的Datasheet PDF文件第71页浏览型号DR805X的Datasheet PDF文件第73页浏览型号DR805X的Datasheet PDF文件第74页浏览型号DR805X的Datasheet PDF文件第75页浏览型号DR805X的Datasheet PDF文件第76页  
DR805x Instructions set details
- 72 -
3.40.
SUBB
SUBB A, <src-byte>
Subtract with borrow
SUBB subtracts the indicated variable and the carry flag together from
the accumulator, leaving the result in the accumulator. SUBB sets the
carry (borrow) flag if a borrow is needed for bit 7, and clears C
otherwise. (If C was set
before
executing a SUBB instruction, this
indicates that a borrow was needed for the previous step in a multiple
precision subtraction, so the carry is subtracted from the accumulator
along with the source operand). AC is set if a borrow is needed for bit 3,
and cleared otherwise. OV is set if a borrow is needed into bit 6 but not
into bit 7, or into bit 7 but not bit 6.
When subtracting signed integers OV indicates a negative number
produced when a negative value is subtracted from a positive value, or
a positive result when a positive number is subtracted from a negative
number.
The source operand allows four addressing modes: register, direct,
register-indirect, or immediate.
SUBB A, R
N
(PC)
(PC) + 1
(A)
(A) - (C) - (Rn)
1
2
Instruction:
Function:
Description:
3.40.1.
Operation:
Bytes:
Cycles:
Encoding:
1
0
0
1
1
r
r
r
3.40.2.
Operation:
SUBB A,
DIRECT
(PC)
(PC) + 2
(A)
(A) - (C) - (direct)
2
3
Bytes:
Cycles:
Encoding:
1
0
0
1
0
1
0
1
direct address
All trademarks mentioned in this document
are trademarks of their respective owners.
http://www.DigitalCoreDesign.com
http://www.dcd.pl
Copyright 1999-2003 DCD – Digital Core Design. All Rights Reserved.