Method and apparatus for executing an atomic read-modify-write instruction
Abstract
A circuit that enhances the performance of the execution of a read-modify-write instruction type. The circuit provides hardware detection and decoding of various options specified by the instruction, and greatly improves the performance and conserves space within a micro-code control store (14). The circuit also detects anomalous cases and reports them to micro-code for special handling. The detection of the anomalous cases occurs dynamically and in parallel to instruction execution, thereby improving performance. Resulting condition codes are also provided simultaneously to the control program. The circuit operates in concert with a micro-code controlled mechanism to read a memory variable and, based on the specification of the instruction, the circuit selectively adds 1, subtracts 1, adds a 16-bit mask specified by the instruction, or subtracts the 16-bit mask, and returns the result to a central processor (12). Anomalous conditions that include overflow, invalid mask specification, and a special exchange option are all simultaneously detected and reported to the micro-code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 35.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for executing a read-modify-write instruction with a data processor, comprising the steps of: during a first time period corresponding to a first microinstruction of a sequence of microinstructions that are executed during an execution of said read-modify-write instruction, loading a first register with first data that specifies an operation to be performed upon target data located within a memory location of a memory; loading a second register with second data, said second data having a possibility of being combined with said target data located within said memory location; and
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 35 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (4)
- Harmar et al. "The Motorola MC68000 Microprocessor Family:Assembly Language, Interface Design, & Sysam Design" pp.106-108, 398-408, 438, 492-499.
- Harmar et al. The Motorola MC68000 Microprocessor Family:Assembly Language, Interface Design, & Sysam Design pp.106 108, 398 408, 438, 492 499.
- IEEE Micro vol. 10, No. 3, Jun. 1990, New York, USA pp. 48 66 M. Alsup Motorola s 88000 Family Architecture p. 55, left column paragraph 6.
- IEEE Micro vol. 10, No. 3, Jun. 1990, New York, USA pp. 48-66 M. Alsup Motorola's 88000 Family Architecture p. 55, left column paragraph 6.