EP0248436A2

Method of and apparatus for processing data.

Abstract

A data processor of this invention specifies (16,17) either of a predetermined maximum length of an address (a bits) and the length of an address less than the former length and at least one register (7) having the number or length of bits of the maximum address length or greater (r bits). The data processor reads out lower-order d bits of said at least one register (7) specified by a first instruction to perform arithmetic operations, and writes the arithmetic result into a register element contained in said at least one register (7). Moreover, the processor reads out bits from a register element contained in said at least one register (7) specified in a second instruction to generate an a-bit address, and reads out d bits from a storage device (5) in response to the thus-generated address to write the d bits into either the storage device (5) or said register element. Accordingly, since the data length is consistently d bits irrespective of specified effective length of an address, direct data transfer is enabled between programs each having a different effective length of an address. Facilitating extension of the length of a storage address and assuring compatibility with conventional data processor.

EP0248436A2, drawing sheet 1
Sheet 1 of 6

Term

Term ended

Projected expiry passed 4 June 2007, 19.3 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

21 claims: 3 independent, 18 dependent

  1. 1
    A data processor, comprising:a main storage (5);means (16, 17) for specifying address length selected from first bit length (a bits) and at least one second bit length shorter than the first bit length;a plurality of registers (7) each of third bit length (r bits) not shorter than the first bit length;operation means (8, 9, 10, 11) connected to said registers and said main storage for performing one of arithmetic or logical operations designated by an instruction on a first data signal held by a first one of the registers designated by the instruction or held by said main storage so as to provide a second data signal corresponding to the result of the one operation to a second one of the registers designated by the instruction or to said main storage, wherein both a bit portion which receives the one operation within the first data signal and a significant bit portion of the second data signal are not shorter than the first bit length (a bits) in a first mode of operation of said operation means and is equal to fourth bit length (d bits) shorter than the first bit length in a second mode of operation of said operation means;access means (4, 20, 21) connected to said main storage, said registers and said specifying means for generating an address having the first bit length in response to a bit portion with the specified address length within a third data signal held by a third one of the registers designated by an instruciton and accessing said main storage with the generated address, said access means including means for accessing said main storage for a'data signal having at least the first bit length in a first mode of operation thereof and having the fourth bit length in a second mode of operation thereof, so that a data signal of different length of a significant bit portion is transferred between said main storage and one of said operation means and said registers;control means (2, 13, 14) connected to said arithmetic means and said main storage means and responsive to an instruction requiring execution of an operation by said arithmetic means for controlling a mode of operation thereof and responsive to an instruction requiring access to said main storage by said access means for controlling a mode of operation thereof.
  2. 14
    An apparatus for processing data comprising:means for specifying either of a predetermined maximum length of an address (a bits) and the length of an address less than said predetermined maximum length;at least one register having the length of a bit string (r bits) equal to or greater than said predetermined maximum length;a first arithmetic means for reading out lower-order d bits of said at least one register specified by a first instruction, performing arithmetic operations of said d bits, writing the result of said arithmetic operations into a register element contained in said at least one register;address generating means for reading a specified effective length of a bit string out of a register element contained in said at least one register specified by a second instruction, generating an a-bit address;means for reading d bits out of a storage device in response to said address generated by said address generating means, writing said d bits into either of said storage device and a specified register element contained in said at least one register;and control means for activating said first arithmetic means in response to a first kind of instruction and for activating said address generating means in response to a second kind of instruction.
  3. 21
    A method of processing data adapted to data processors including at least one register having the length of a bit string (r bits) equal to or less than a predetermined maximum length of an address, comprising the step of specifying either of said predetermined maximum length of an address (a bits) and the length of an address less than said predetermined maximum length;the arithmetic step of reading out lower-order d bits of said at least one register specified by a first instruction to perform arithmetic operations of said d bits to write the result of said arithmetic operations into a register element contained in said at least one register;the address generating step of reading a specified effective length of a bit string out of a register element contained in said at least one register specified by a second instruction to generate an a-bit address;the write step of reading d bits out of a storage device in response to said address generated by said address generating means to write said d bits into either of said storage device and a specified register element contained in said at least one register;and the control step of activating said first. arithmetic means in response to a first kind of instruction and for activating said address generating means in response to a second kind of instruction.