![Samsung S3F80P5X Скачать руководство пользователя страница 157](http://html.mh-extra.com/html/samsung/s3f80p5x/s3f80p5x_user-manual_349401157.webp)
S3F80P5_UM_ REV1.00
INSTRUCTION SET
DEC
— Decrement
DEC
dst
Operation:
dst
←
dst – 1
The contents of the destination operand are decremented by one.
Flags: C:
Unaffected.
Z:
Set if the result is "0"; cleared otherwise.
S:
Set if result is negative; cleared otherwise.
V:
Set if arithmetic overflow occurred; cleared otherwise.
D:
Unaffected.
H:
Unaffected.
Format:
Bytes Cycles
Opcode
(Hex)
Addr Mode
dst
opc dst
2 4 00
R
4 01
IR
Examples:
Given: R1 = 03H and register 03H = 10H:
DEC R1
→
R1 = 02H
DEC @R1
→
Register 03H = 0FH
In the first example, if working register R1 contains the value 03H, the statement "DEC R1"
decrements the hexadecimal value by one, leaving the value 02H. In the second example, the
statement "DEC @R1" decrements the value 10H contained in the destination register 03H by
one, leaving the value 0FH.
6-35
Содержание S3F80P5X
Страница 10: ......
Страница 14: ......
Страница 19: ...S3F80P5_UM_ REV1 00 PRODUCT OVERVIEW BLOCK DIAGRAM 24 PIN PACKAGE Figure 1 1 Block Diagram 24 pin 1 3 ...
Страница 48: ...ADDRESS SPACE S3F80P5_UM_ REV1 00 NOTES 2 22 ...
Страница 122: ...INTERRUPT STRUCTURE S3F80P5_UM_ REV1 00 NOTES 5 18 ...
Страница 210: ...INSTRUCTION SET S3F80P5_UM_ REV1 00 NOTES 6 88 ...
Страница 216: ...CLOCK AND POWER CIRCUITS S3F80P5_UM_ REV1 00 NOTES 7 6 ...
Страница 266: ...COUNTER A S3F80P5_UM_ REV1 00 NOTES 12 8 ...
Страница 290: ...EMBEDDED FLASH MEMORY INTERFACE S3F80P5_UM_ REV1 00 NOTES 14 18 ...
Страница 316: ...S3F80P5_UM_ REV1 00 ELECTRICAL DATA STOP LED This LED is ON when the evaluation chip S3E80PB is in stop mode 19 5 ...
Страница 321: ...DEVELOPMENT TOOLS S3F80P5_UM_ REV1 00 NOTES 19 10 ...