#include <stdio.h>
#include <stdlib.h>

int main(int argc, char **argv)
{
	int shiftby = atoi(argv[1]);

	printf("0x100 << %i => %x\n", shiftby, 0x100 << shiftby);
	return 0;
}

/*
 * $ ./negativeshift 2
 * 0x100 << 2 => 400
 * $ ./negativeshift 1
 * 0x100 << 1 => 200
 * $ ./negativeshift 0
 * 0x100 << 0 => 100
 * $ ./negativeshift -1
 * 0x100 << -1 => 0
 */

