A method of executing an instruction on a reduced instruction set computer having a multi-bit extension appended to the data and instruction registers, wherein the multi-bit extension includes a tag field for identifying the data type of the data words process therethrough, comprising the steps of:
- storing in a memory a plurality of instruction words each having a full precision instruction portion and a multi-bit extension having a tag field;
- retrieving an instruction word from said memory;
- storing said instruction word in an instruction register coupled to said memory;
- retrieving a first data word having a data portion and a tag field from a first data register and applying said data portion to the first input of an arithmetic logic unit;
- retrieving a second data word having a data portion from a second data register or from said instruction register and applying said data portion to the second input of said arithmetic logic unit;
- performing a computation on said data portions of said first and second data words as determined by said full precision instruction portion of said instruction word and providing a resulting data word;
- selecting between said tag field of said first data word and said tag field of said instruction word as determined by a control signal in said tag field of said instruction word;
- and
- combining said resulting data word of the computation with said selected tag field for storage in a third data register.