hi all,
can anyone tell me that how can I change the functions in written for 16 bit processor in c language for 32 bit processor?

I think it should work as it is except if you're doing any bitwise operations (or anything else specific to 16-bit arch) on some of the variables.
This is because word in 32 bit will be bigger than 16 bit, so all your data will be fine.

Just a few (not all-inclusive) changes you might have to make:

If your 16-bit program is using segmented pointer stuff you will probably have to recode that. Inline assembly code that contains interrupts (such as int 21) is not allowed, inp and outp are not allowed. Installation of interrupt handlers will have to be changed.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.