4. Arithmetic and logic instructions
The arithmetic and logic instructions, together with the shift and rotation instructions, enable all calculation operations to be performed on integer data. These operations concern the maximum size of integer operands, i.e. 32 or 64 bits, depending on the instruction set version. In instruction sets (3,0), operations only concern register contents. In other instruction sets, operations can also be performed on memory operands. When operations are smaller than register size, they are extended when loaded from memory for the (3,0) model, and for all instructions for the other models.
Input carry and carryless addition instructions generally distinguish between addition on signed and unsigned data. In some instruction sets, an overflow during signed addition produces an exception. The same applies to subtraction instructions. Saturation addition instructions, which...
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference
This article is included in
Software technologies and System architectures
This offer includes:
Knowledge Base
Updated and enriched with articles validated by our scientific committees
Services
A set of exclusive tools to complement the resources
Practical Path
Operational and didactic, to guarantee the acquisition of transversal skills
Doc & Quiz
Interactive articles with quizzes, for constructive reading
Arithmetic and logic instructions
Bibliography
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference