summaryrefslogtreecommitdiff
path: root/reverse-engineering/dosbox_snif/int16todec.c
blob: 6499bf6a1368573f95f98f7502afa5f5ee03e523 (plain)
1
2
3
4
5
6
7
8
9
#include <stdint.h>
#include <stdio.h>

int main() {
	int16_t i;
	scanf("%x", &i);
	printf("0x%04x => %i\n", i, i);
	return 0;
}