История изменений
Исправление soomrack, (текущая версия) :
2122442
expression
language construct that defines the computation of a data value as a result from one or more operands
Note 1 to entry: Operands may be literals, identifiers, function calls.
Note 2 to entry: expression : term and definition standardized by ISO/IEC [ISO/IEC 2382-15:1999].
Note 3 to entry: 15.05.33 (2382)
Отсюда следует, что «add AX, BX» это выражение.
add *, *
это конструкция языка ассемблера, которая определяет вычисление вычисление суммы операндов и записывает результат в первый операнд, плюс обычно еще выставляет флаг если результат операции не 0.
Физически операция add может быть не реализована на уровне вычислителя для некоторых регистров, и фактически превратится в несколько команд с промежуточными результатами на уровне микроархитектуры.
ISO 9899:2017
6.5 Expressions
1 An expression is a sequence of operators and operands that specifies computation of a value, or that designates an object or a function, or that generates side effects, or that performs a combination thereof. The value computations of the operands of an operator are sequenced before the value computation of the result of the operator.
i = i + 1
это выражение, соотв. и inc AX
должно быть выражением.
PS: что у вас подразумевается под абстрактным результатом?
Исходная версия soomrack, :
2122442
expression
language construct that defines the computation of a data value as a result from one or more operands
Note 1 to entry: Operands may be literals, identifiers, function calls.
Note 2 to entry: expression : term and definition standardized by ISO/IEC [ISO/IEC 2382-15:1999].
Note 3 to entry: 15.05.33 (2382)
Отсюда следует, что «add AX, BX» это выражение, которое может быть частью conditional expression:
add AX, BX
jnz loop
add *, *
это конструкция языка ассемблера, которая определяет вычисление вычисление суммы операндов и записывает результат в первый операнд, плюс обычно еще выставляет флаг если результат операции не 0.
Физически операция add может быть не реализована на уровне вычислителя для некоторых регистров, и фактически превратится в несколько команд с промежуточными результатами на уровне микроархитектуры.
ISO 9899:2017
6.5 Expressions
1 An expression is a sequence of operators and operands that specifies computation of a value, or that designates an object or a function, or that generates side effects, or that performs a combination thereof. The value computations of the operands of an operator are sequenced before the value computation of the result of the operator.
i = i + 1
это выражение, соотв. и inc AX
должно быть выражением.
PS: что у вас подразумевается под абстрактным результатом?