Intel ITANIUM ARCHITECTURE - SOFTWARE DEVELOPERS MANUAL VOLUME 1 REV 2.3 Manual page 1155

Hide thumbs Also See for ITANIUM ARCHITECTURE - SOFTWARE DEVELOPERS MANUAL VOLUME 1 REV 2.3:
Table of Contents

Advertisement

sub
sub — Subtract
(
) sub
Format:
qp
r
1
(
) sub
qp
r
1
(
) sub
qp
r
1
The second source operand (and an optional constant 1) are subtracted from the first
Description:
operand and the result placed in GR
the immediate form the first operand is taken from the sign-extended
field.
The minus1_form is available only in the register_form (although the equivalent effect
can be achieved by adjusting the immediate).
Operation:
if (PR[qp]) {
check_target_register(r
tmp_src = (register_form ? GR[r
tmp_nat = (register_form ? GR[r
if (minus1_form)
GR[r
else
GR[r
GR[r
].nat = tmp_nat || GR[r
1
}
Illegal Operation fault
Interruptions:
3:256
=
,
r
r
2
3
=
,
, 1
r
r
2
3
=
,
imm
r
8
3
);
1
] = tmp_src - GR[r
1
3
] = tmp_src - GR[r
1
3
minus1_form, register_form
. In the register form the first operand is GR
r
1
] : sign_ext(imm
2
].nat : 0);
2
] - 1;
];
].nat;
3
register_form
imm8_form
encoding
imm
8
, 8));
8
Volume 3: Instruction Reference
A1
A1
A3
; in
r
2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Itanium architecture 2.3

Table of Contents