Patent ID: RE40498

Claim:
A program converting unit for generating a machine language instruction from a source program for a microprocessor having an address width N and a data width M, N being greater than M, N and M being inputs to the program converting unit as specified by a user, the value of N depending on a program size of the source program, said program converting unit comprising: parameter holding means for holding unit configured to hold a data width M and a pointer width N, said data width M representing the number of bits of data used in the source program, said pointer width N representing the number of bits of an address, said N and M being input by a user during an execution of the program converting unit, the value of N depending on the program size; and generating means for generating unit configured to generate an instruction to manage said data width M when a variable operated by said instruction represents the data, and for generating to generate an instruction to manage said pointer width N when a variable operated by said instruction represents the address, wherein the program converting unit generates a unique set of machine language instruction from the source program for each N specified by the user.