A compiler which generates object codes based on a source program includes: an
instruction detection section detecting instruction scheduling information described
in the source program, the instruction scheduling information describing first
and second operation instruction information and the number of cycles or the number
of instructions to be secured between the object code corresponding to the first
operation instruction information and the object code corresponding to the second
operation instruction information; and an object code insertion section inserting
an object code, which is irrelevant to the object code corresponding to the first
operation instruction information and the object code corresponding to the second
operation instruction, between these object codes by as much as the number of cycles
or number of instructions.