摘要 |
PURPOSE:To decrease the number of address words for data of a register in the 2nd storage means designated by the data of the 1st storage means, by designating the head address of a subroutine from the 1st storage means. CONSTITUTION:An indirect table address call read out from a program memory 4 is decoded 5, 1 is added to a present address data of a program counter 3 to an address of a data meory 1 designated with a stack pointer 6 for temporary storage and 1 is added to the stack pointer 6. The address of the data memory 1 is designated, an address S1 of a register 2 is sent to a program counter 3, and thereby the address S1 of the program memory 4 is designated. A table data (a) set is a head address of the subroutine to be called and this is read out and set to the program counter 3. As a result, the subroutine 1 taking the address (a) as a head is sequentially readout. Thus, the number of address words can be reduced to a half. |