FIELD: physics, computer engineering.
SUBSTANCE: invention relates to means of calculating distance from a position in main memory to the boundary of a main memory block. A machine instruction is received, which includes: at least one operation code field for providing an operation code which identifies a Load Count to Block Boundary operation intended for calculating distance from a position in the main memory to the boundary of a main memory block; a register field used to designate a register, wherein the register includes a first operand and at least one field for indicating the position of a second operand, wherein the second operand includes at least part of said main memory block. The machine instruction is executed to perform said operation. The distance from the position of the second operand to the boundary of the main memory block is determined, which includes a processor counting the number of bytes from the position of the second operand to the boundary of the main memory block. A value is set in the first operand, which represents said distance and is a result of performing the Load Count to Block Boundary operation.
EFFECT: processing data near memory boundaries.
20 cl, 17 dwg
Title | Year | Author | Number |
---|---|---|---|
INSTRUCTION TO LOAD DATA UP TO SPECIFIED MEMORY BOUNDARY INDICATED BY SAID INSTRUCTION | 2012 |
|
RU2565496C2 |
TRANSFORMATION OF INSTRUCTION DISCRETE IDENTIFIERS INTO CONTINUOUS INSTRUCTION IDENTIFIERS | 2012 |
|
RU2568241C2 |
DETERMINATION OF SYMBOL DATA GROUP LENGTH CONTAINING ENDING SYMBOL | 2013 |
|
RU2621000C2 |
VECTOR TYPE COMMAND FOR SEARCH LEVEL OF INADEQUATE ELEMENT | 2013 |
|
RU2598814C2 |
BASED ON THE ALIGNMENT OF THE PARALLELISM OF BLOCKS FOR ACCESS TO THE MEMORY | 2015 |
|
RU2675509C1 |
VECTOR FIND ELEMENT EQUAL INSTRUCTION | 2013 |
|
RU2585975C2 |
COMMAND OF VECTOR CHECKSUM TYPE | 2013 |
|
RU2608663C1 |
VECTOR TYPE COMMAND AT FIELD OF GALOIS MULTIPLICATION, ADDITION AND ACCUMULATION | 2014 |
|
RU2613726C2 |
INCREASING NUMBER OF GENERAL PURPOSE REGISTERS AVAILABLE TO INSTRUCTIONS | 2010 |
|
RU2562430C2 |
MEASURING TOOL FOR ADAPTER FUNCTIONS | 2010 |
|
RU2523194C2 |
Authors
Dates
2015-11-20—Published
2012-11-15—Filed