flip a 1bpp .bmp image horizontally
- by user576844
I am trying to write a program containing two source files: main program written in C and assembly(x86 32 and 64) module callable from C. The C declaration for the assembly routine looks like this:
void mirrorbmp1(void *img, int width, int height)
The task involves Mirror/flipping a 1 bpp .BMP image horizontally while Handling any image width properly, not only multiples of 8.
I am new to assembly programming and have very little idea about how i should do the ask.
Any help would be appreciated.