摘要 |
PURPOSE:To perform easily indexing related to a structure even in case of divisional compiling by giving an identification number and a key value for indexing to the internal representation of a functor in a processor of a logical language. CONSTITUTION:When the instruction fetched from a main memory 10 is a switch on structure Ai, N, Ai is decoded to set an offset (i) to an indication register 40. The value of the i-th argument register in a register file 30 is read out and is set to a register 50 temporarily, and its tag part is transferred to a tag decoder 80, and its value part is transferred to an address register 60. If data obtained from the decoder 80 is a structure, a control unit 100 branches to an instruction a value, which is obtained by operating AND between lower 8 bits of the register 50 where the functor is stored and the second operand part N, ahead.
|