ST10 FAMILY PROGRAMMING MANUAL
96/172
NEGB
Integer Two’s Complement
Syntax
NEGB op1
Operation
(op1)
<-- 0 - (op1)
Data Types
BYTE
Description
Performs a binary 2’s complement of the source operand specified by op1. The result is then stored in
op1.
Flags
Addressing Modes
E
Z
V
C
N
*
*
*
S
*
E
Set if the value of op1 represents the lowest possible negative number. Cleared otherwise.
Used to signal the end of a table.
Z
Set if result equals zero. Cleared otherwise.
V
Set if an arithmetic underflow occurred, i.e. the result cannot be represented in the specified
data type. Cleared otherwise.
C
Set if a borrow is generated. Cleared otherwise.
N
Set if the most significant bit of the result is set. Cleared otherwise.
Mnemonic
Format
Bytes
NEGB
Rb
n
A1 n0
2
Содержание ST10 Series
Страница 2: ......
Страница 4: ...ST10 FAMILY PROGRAMMING MANUAL 2 172...