datasheetbank_Logo
数据手册搜索引擎和 Datasheet免费下载 PDF

EM73982 查看數據表(PDF) - ELAN Microelectronics

零件编号
产品描述 (功能)
比赛名单
EM73982
EMC
ELAN Microelectronics EMC
EM73982 Datasheet PDF : 41 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
EM73982
4-BIT MICROCONTROLLER
ALU FUNCTION
(1) Addition:
For instruction ADDAM, ADCAM, ADDM #k, ADD #k,y .... ALU supports addition function.
The addition operation can affect CF and ZF. For addition operation, if the result is "0", ZF will be "1",
otherwise, not equal "0", ZF will be "0". When the addition operation has a carry-out, CF will be "1",
otherwise, CF will be "0".
EXAMPLE:
Operation
3+4=7
7+F=6
0+0=0
8+8=0
Carry Zero
0
0
1
0
0
1
1
1
(2) Subtraction:
For instruction SUBM #k, SUBA #k, SBCAM, DECM... ALU supports user subtraction function. The
subtraction operation can affect CF and ZF, For subtraction operation, if the result is negative, CF will
be "0", it means a borrow out, otherwise, if the result is positive, CF will be "1". For ZF, if the result
of subtraction operation is "0", the ZF will be "1", otherwise, ZF will be "1".
EXAMPLE:
Operation
8-4=4
7-F= -8(1000)
9-9=0
Carry Zero
1
0
0
0
1
1
* This specification are subject to be changed without notice.
11.30.2001 5

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]