So it's an embedded application then?
> os: windows 2000
This is your host.
> idea CPU12 with Zap ICD 6812 debugger
These are your cross-compiler tools, running on win2k, and producing code for your target machine (which you then download).
> flash: motorola MC68HC912B32 Microcontroller with 32-Kbyte Flash EEPROM
This is your target
First thing you need to do is read some documentation to find out where in the memory map this 32K of flash is mapped into the address space of the processor.
Once you know where it is in the memory map, you can set a pointer to the base with
Then you need to find out which FLASH device you have. The general principle is the same for most devices, but each has some specifics as well.
unsigned char *flash_base = (unsigned char *)0xC000; // your value here
I'm taking a stab at suggesting you have an AMD FLASH device, so how about starting here for looking for a data sheet / programmers reference on the device.
Then you can access the whole flash as an array running from
flash_base to flash_base