Arithmetic and logic instructions
CPU Instruction sets
Article REF: H1199 V1
Arithmetic and logic instructions
CPU Instruction sets

Author : Daniel ETIEMBLE

Publication date: February 10, 2016 | Lire en français

Logo Techniques de l'Ingenieur You do not have access to this resource.
Request your free trial access! Free trial

Already subscribed?

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...

You do not have access to this resource.
Logo Techniques de l'Ingenieur

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?


Ongoing reading
Arithmetic and logic instructions

Article included in this offer

"Software technologies and System architectures"

( 227 articles )

Complete knowledge base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

View offer details