METHOD AND APPARATUS FOR A COMPARE AND SWAP INSTRUCTION

Patent №

US 4,584,640

Granted

1986-04-22

Filed 1984

Owner

MOTOROLA, INC.

Lab

AI components

1

hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

06624864

In a data processing system having linked lists it is useful to be able to add and delete items from such lists while maintaining the integrity of the linked nature of such lists. A new compare and swap instruction provides for effectively simultaneously swapping 2 values which is useful for safely adding and deleting items from linked lists. Prior to the instruction the status of the two value are read at the locations to be swapped. During the instruction these locations are checked again to ensure that no change has occurred at these locations before the instruction performs the swap of the two new values. The instruction then performs the proposed 2 value swap but only if no change has occurred at these two locations where the swap is to be performed.

AI hardwareG06F 9/30032G06F 9/30021

AI classification

AI hardware0.68
Natural language0.01
Evolutionary computation0.00
Knowledge representation0.00
Planning0.00
Vision0.00
Speech0.00
Machine learning0.00

Ownership

MOTOROLA, INC.

assignment · 42790090

Assignors

MACGREGOR, DOUGLAS, MOTHERSOLE, DAVID S., ZOLNOWSKY, JOHN

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC